chore(all): remove deprecated io/ioutil import

This commit is contained in:
Quentin McGaw
2022-08-24 19:39:55 +00:00
parent 062b6a276c
commit 8dfaebc737
8 changed files with 13 additions and 19 deletions

View File

@@ -3,7 +3,6 @@ package updater
import (
"context"
"io"
"io/ioutil"
"net/http"
"strings"
"testing"
@@ -43,7 +42,7 @@ func Test_fetchServers(t *testing.T) {
"success": {
ctx: context.Background(),
responseStatus: http.StatusOK,
responseBody: ioutil.NopCloser(strings.NewReader(`
responseBody: io.NopCloser(strings.NewReader(`
<div class="blk blk--white locations-list">
<div class="blk__i">
<div>