From a040ebeb980d1a712509fa3d8073cf6ae16cbe78 Mon Sep 17 00:00:00 2001 From: KimMachineGun Date: Sat, 3 Apr 2021 08:10:47 +0000 Subject: all: update references to symbols moved from io/ioutil to io Update references missed in CL 263142. For #41190 Change-Id: I778760a6a69bd0440fec0848bdef539c9ccb4ee1 GitHub-Last-Rev: dda42b09fff36dc08ec1cdec50cc19e3da5058e5 GitHub-Pull-Request: golang/go#42874 Reviewed-on: https://go-review.googlesource.com/c/go/+/273946 Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor Trust: Cherry Zhang --- src/syscall/exec_windows_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/syscall/exec_windows_test.go') diff --git a/src/syscall/exec_windows_test.go b/src/syscall/exec_windows_test.go index aeafb564b3..8b8f330e99 100644 --- a/src/syscall/exec_windows_test.go +++ b/src/syscall/exec_windows_test.go @@ -6,7 +6,6 @@ package syscall_test import ( "fmt" - "io/ioutil" "os" "os/exec" "path/filepath" @@ -106,7 +105,7 @@ func TestChangingProcessParent(t *testing.T) { if err != nil { t.Errorf("child failed: %v: %v", err, string(childOutput)) } - childOutput, err = ioutil.ReadFile(childDumpPath) + childOutput, err = os.ReadFile(childDumpPath) if err != nil { t.Fatalf("reading child output failed: %v", err) } -- cgit v1.3