diff options
| author | Jakob Unterwurzacher | 2025-07-07 19:54:48 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2025-07-07 19:59:35 +0200 | 
| commit | 8f5df19b353e02ffba842fd1b15ccf93da7ee3b4 (patch) | |
| tree | 8f68b74e56a1d20af82e5093a059d180c925f9be /gocryptfs-xray/xray_tests/xray_test.go | |
| parent | cdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff) | |
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'gocryptfs-xray/xray_tests/xray_test.go')
| -rw-r--r-- | gocryptfs-xray/xray_tests/xray_test.go | 6 | 
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)  	}  | 
