diff --git a/cleaner_test.go b/cleaner_test.go index 569a169..defff0d 100644 --- a/cleaner_test.go +++ b/cleaner_test.go @@ -1,7 +1,7 @@ package main import ( - "io/ioutil" + "io" "log" "net/url" "os" @@ -13,7 +13,7 @@ import ( ) func TestMain(m *testing.M) { - log.SetOutput(ioutil.Discard) + log.SetOutput(io.Discard) os.Exit(m.Run()) }