summaryrefslogtreecommitdiff
path: root/pkg/scrypto
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/scrypto')
-rw-r--r--pkg/scrypto/aes256_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/scrypto/aes256_test.go b/pkg/scrypto/aes256_test.go
index 9914625..d07221d 100644
--- a/pkg/scrypto/aes256_test.go
+++ b/pkg/scrypto/aes256_test.go
@@ -3,7 +3,6 @@ package scrypto
import (
"encoding/hex"
"slices"
- "strings"
"testing"
)
@@ -18,7 +17,7 @@ func TestAES256KeyHex(t *testing.T) {
if slices.Compare(testKey, key[:]) != 0 {
t.Errorf("got %v, wanted %v", testKey, key[:])
}
- if strings.Compare(testKeyHex, key.Hex()) != 0 {
+ if testKeyHex != key.Hex() {
t.Errorf("got %v, wanted %v", testKeyHex, key.Hex())
}
}