diff --git a/codec_test.go b/codec_test.go index 93ec6b5..684f521 100644 --- a/codec_test.go +++ b/codec_test.go @@ -25,7 +25,6 @@ import ( "bytes" "flag" "fmt" - "io/ioutil" "os" "path/filepath" "strings" @@ -414,7 +413,7 @@ func TestSeedFuzzCorpus(t *testing.T) { corpusDir := filepath.Join(".", "testdata", "corpus") writeSeedFile := func(name, data string) error { path := filepath.Join(corpusDir, name) - return ioutil.WriteFile(path, []byte(data), os.ModePerm) + return os.WriteFile(path, []byte(data), os.ModePerm) } for _, fst := range fromStringTests { name := "seed_valid_" + fst.variant