aboutsummaryrefslogtreecommitdiff
path: root/tests/hkdf_sanity/sanity_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/hkdf_sanity/sanity_test.go
parentcdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff)
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'tests/hkdf_sanity/sanity_test.go')
-rw-r--r--tests/hkdf_sanity/sanity_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/hkdf_sanity/sanity_test.go b/tests/hkdf_sanity/sanity_test.go
index f221439..27a1085 100644
--- a/tests/hkdf_sanity/sanity_test.go
+++ b/tests/hkdf_sanity/sanity_test.go
@@ -4,7 +4,6 @@
package hkdf_sanity
import (
- "io/ioutil"
"os"
"testing"
@@ -15,7 +14,7 @@ func TestBrokenContent(t *testing.T) {
cDir := "broken_content"
pDir := test_helpers.TmpDir + "/" + cDir
test_helpers.MountOrFatal(t, cDir, pDir, "-extpass", "echo test", "-wpanic=false")
- _, err := ioutil.ReadFile(pDir + "/status.txt")
+ _, err := os.ReadFile(pDir + "/status.txt")
if err == nil {
t.Error("this should fail")
}