aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_windows_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/exec_windows_test.go')
-rw-r--r--src/syscall/exec_windows_test.go3
1 files changed, 1 insertions, 2 deletions
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)
}