From 6022cb7a66fd0bd427212afe5f2d5f8fe4cbaed1 Mon Sep 17 00:00:00 2001 From: Sergey Kibish Date: Mon, 10 Apr 2023 10:20:42 +0300 Subject: [PATCH] fix: change deprecated package --- cleaner_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) }