diff options
Diffstat (limited to 'internal/sidechannel/registry_test.go')
-rw-r--r-- | internal/sidechannel/registry_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/sidechannel/registry_test.go b/internal/sidechannel/registry_test.go index 5b8217e70..07d2f85c1 100644 --- a/internal/sidechannel/registry_test.go +++ b/internal/sidechannel/registry_test.go @@ -2,7 +2,7 @@ package sidechannel import ( "fmt" - "io/ioutil" + "io" "net" "strconv" "sync" @@ -60,7 +60,7 @@ func TestRegistry(t *testing.T) { } for i := 0; i < N; i++ { - out, err := ioutil.ReadAll(servers[i]) + out, err := io.ReadAll(servers[i]) require.NoError(t, err) require.Equal(t, strconv.Itoa(i), string(out)) } |