opentofu/state
Martin Atkins c12d64f340 Use t.Helper() in our test helpers
Go 1.9 adds this new function which, when called, marks the caller as
being a "helper function". Helper function stack frames are then skipped
when trying to find a line of test code to blame for a test failure, so
that the code in the main test function appears in the test failure output
rather than a line within the helper function itself.

This covers many -- but probaly not all -- of our test helpers across
various packages.
2017-08-28 09:59:30 -07:00
..
remote Merge #15793: Locking support in HTTP remote backend 2017-08-22 09:43:38 -07:00
testdata Use NewLockInfo to get a pre-populated value 2017-02-15 14:41:55 -05:00
backup_test.go add mutexes to Local, Backup, and InmemState 2017-05-25 11:20:52 -04:00
backup.go add mutexes to Local, Backup, and InmemState 2017-05-25 11:20:52 -04:00
inmem_test.go test LockWithContext 2017-04-03 11:50:19 -04:00
inmem.go state: more robust handling of state Serial 2017-07-05 12:34:30 -07:00
local_lock_unix.go Switch from Path to PathOut on LocalState.written 2017-01-30 17:16:57 -05:00
local_lock_windows.go fix windows locking 2017-02-17 13:29:48 -05:00
local_test.go add mutexes to Local, Backup, and InmemState 2017-05-25 11:20:52 -04:00
local.go state: more robust handling of state Serial 2017-07-05 12:34:30 -07:00
lock_test.go backend/consul: support "lock" option to disable locking 2017-03-14 17:59:10 -07:00
lock.go backend/consul: support "lock" option to disable locking 2017-03-14 17:59:10 -07:00
state_test.go remove Sleep from TestLockWithContext 2017-04-03 14:46:22 -04:00
state.go state: more robust handling of state Serial 2017-07-05 12:34:30 -07:00
testing.go Use t.Helper() in our test helpers 2017-08-28 09:59:30 -07:00