diff options
Diffstat (limited to 'actions/hashing_test.go')
| -rw-r--r-- | actions/hashing_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/hashing_test.go b/actions/hashing_test.go index 2e212e9..26f627b 100644 --- a/actions/hashing_test.go +++ b/actions/hashing_test.go @@ -20,7 +20,7 @@ package actions import ( - "io/ioutil" + "io" "log" "testing" "time" @@ -54,7 +54,7 @@ func TestCostsSearch(t *testing.T) { func benchmarkCostsSearch(b *testing.B, target time.Duration) { // Disable logging for benchmarks - log.SetOutput(ioutil.Discard) + log.SetOutput(io.Discard) for i := 0; i < b.N; i++ { _, err := getHashingCosts(target) if err != nil { |