aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/updater/winhttp/winhttp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'updater/winhttp/winhttp_test.go')
-rw-r--r--updater/winhttp/winhttp_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/updater/winhttp/winhttp_test.go b/updater/winhttp/winhttp_test.go
index 96b17021..41fbeb6b 100644
--- a/updater/winhttp/winhttp_test.go
+++ b/updater/winhttp/winhttp_test.go
@@ -8,7 +8,6 @@ package winhttp
import (
"fmt"
"io"
- "io/ioutil"
"runtime"
"testing"
)
@@ -40,7 +39,7 @@ func TestResponse(t *testing.T) {
t.Fatal(err)
}
fmt.Printf("The length is %d\n", length)
- bytes, err := ioutil.ReadAll(r)
+ bytes, err := io.ReadAll(r)
if err != nil {
t.Fatal(err)
}