aboutsummaryrefslogtreecommitdiff
path: root/gocryptfs-xray
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-07-07 19:54:48 +0200
committerJakob Unterwurzacher2025-07-07 19:59:35 +0200
commit8f5df19b353e02ffba842fd1b15ccf93da7ee3b4 (patch)
tree8f68b74e56a1d20af82e5093a059d180c925f9be /gocryptfs-xray
parentcdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff)
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'gocryptfs-xray')
-rw-r--r--gocryptfs-xray/xray_tests/xray_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/gocryptfs-xray/xray_tests/xray_test.go b/gocryptfs-xray/xray_tests/xray_test.go
index 6dc7c13..e9b9eab 100644
--- a/gocryptfs-xray/xray_tests/xray_test.go
+++ b/gocryptfs-xray/xray_tests/xray_test.go
@@ -3,7 +3,7 @@ package xray_tests
import (
"bytes"
"fmt"
- "io/ioutil"
+ "os"
"os/exec"
"testing"
@@ -11,7 +11,7 @@ import (
)
func TestAesgcmXray(t *testing.T) {
- expected, err := ioutil.ReadFile("aesgcm_fs.xray.txt")
+ expected, err := os.ReadFile("aesgcm_fs.xray.txt")
if err != nil {
t.Fatal(err)
}
@@ -28,7 +28,7 @@ func TestAesgcmXray(t *testing.T) {
}
func TestAessivXray(t *testing.T) {
- expected, err := ioutil.ReadFile("aessiv_fs.xray.txt")
+ expected, err := os.ReadFile("aessiv_fs.xray.txt")
if err != nil {
t.Fatal(err)
}