Alessio Treglia
0de4bec862
Replace defer with t.Cleanup(). Replace the combination of ioutil.TempDir, error checking and defer os.RemoveAll() with Go testing.T's new TempDir() helper. Mark auxiliary functions as test helpers. |
4 years ago | |
---|---|---|
.. | ||
config.go | lint: Enable Golint (#4212) | 5 years ago |
metric.go | libs: wrap mutexes for build flag with godeadlock (#5126) | 5 years ago |
metric_test.go | lint: errcheck (#5091) | 5 years ago |
store.go | lint: add errchecks (#5316) | 4 years ago |
store_test.go | use Cleanup(),TempDir() in test cases (#5723) | 4 years ago |
ticker.go | note in trust metric test | 7 years ago |