Skip to content

Commit

Permalink
refactor: remove refs to io/ioutil (#918)
Browse files Browse the repository at this point in the history
Signed-off-by: ginglis13 <ginglis05@gmail.com>
  • Loading branch information
ginglis13 committed Oct 14, 2023
1 parent 8dbd587 commit 1ef3c0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testdata/unhandled-error-w-ignorelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package fixtures
import (
b "bytes"
"fmt"
"io/ioutil"
"net"
"os"
)
Expand Down Expand Up @@ -38,7 +37,7 @@ func testCase2() {
os.Chmod("test_file", os.ModeAppend) // ignore
os.WriteFile("test_file", []byte("some data"), os.ModeAppend) // ignore

ioutil.WriteFile("test_file", []byte("some data"), os.ModeAppend) // MATCH /Unhandled error in call to function ioutil.WriteFile/
os.WriteFile("test_file", []byte("some data"), os.ModeAppend) // ignore

_ = os.Chdir("..")
os.Chdir("..") // MATCH /Unhandled error in call to function os.Chdir/
Expand Down

0 comments on commit 1ef3c0f

Please sign in to comment.