aboutsummaryrefslogtreecommitdiff
path: root/tests/reverse/xattr_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-07-07 19:54:48 +0200
committerJakob Unterwurzacher2025-07-07 19:59:35 +0200
commit8f5df19b353e02ffba842fd1b15ccf93da7ee3b4 (patch)
tree8f68b74e56a1d20af82e5093a059d180c925f9be /tests/reverse/xattr_test.go
parentcdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff)
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'tests/reverse/xattr_test.go')
-rw-r--r--tests/reverse/xattr_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reverse/xattr_test.go b/tests/reverse/xattr_test.go
index 8002604..a459808 100644
--- a/tests/reverse/xattr_test.go
+++ b/tests/reverse/xattr_test.go
@@ -2,7 +2,7 @@ package reverse_test
import (
"fmt"
- "io/ioutil"
+ "os"
"path/filepath"
"syscall"
"testing"
@@ -29,7 +29,7 @@ func TestXattrList(t *testing.T) {
t.Skip()
}
fnA := filepath.Join(dirA, t.Name())
- err := ioutil.WriteFile(fnA, nil, 0700)
+ err := os.WriteFile(fnA, nil, 0700)
if err != nil {
t.Fatalf("creating empty file failed: %v", err)
}