Skip to content

Commit

Permalink
fix: replace io/ioutil with io
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Aug 25, 2022
1 parent 6494bb8 commit 5304ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package multicodec_test
import (
"flag"
"fmt"
"io/ioutil"
"io"
"strings"
"testing"

Expand Down Expand Up @@ -70,7 +70,7 @@ func TestFlagValue(t *testing.T) {
t.Parallel()

fs := flag.NewFlagSet("", flag.ContinueOnError)
fs.SetOutput(ioutil.Discard)
fs.SetOutput(io.Discard)

var code multicodec.Code
fs.Var(&code, "multicodec", "")
Expand Down

0 comments on commit 5304ec3

Please sign in to comment.