summaryrefslogtreecommitdiff
path: root/gocryptfs-xray
diff options
context:
space:
mode:
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)
}