diff options
Diffstat (limited to 'plugin/log/log_test.go')
-rw-r--r-- | plugin/log/log_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/log/log_test.go b/plugin/log/log_test.go index 16efb2026..1914e05f3 100644 --- a/plugin/log/log_test.go +++ b/plugin/log/log_test.go @@ -3,7 +3,7 @@ package log import ( "bytes" "context" - "io/ioutil" + "io" "log" "strings" "testing" @@ -240,7 +240,7 @@ func TestLogged(t *testing.T) { } func BenchmarkLogged(b *testing.B) { - log.SetOutput(ioutil.Discard) + log.SetOutput(io.Discard) rule := Rule{ NameScope: ".", |