summaryrefslogtreecommitdiff
path: root/crypt_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-03-24 00:19:30 +0800
committerxuri <xuri.me@gmail.com>2022-03-24 00:19:30 +0800
commit8a335225c705232fe1174755a1b1ea475456b864 (patch)
tree7bae0af1f1ce3459ad429d4fbca60a5e9b35a0e1 /crypt_test.go
parent139ee4c4b0c86dffbdca77da346e85a4cbd97b0c (diff)
Format code, update documentation and remove exported variable `XMLHeaderByte`
Diffstat (limited to 'crypt_test.go')
-rw-r--r--crypt_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt_test.go b/crypt_test.go
index 45e8815..80f6cc4 100644
--- a/crypt_test.go
+++ b/crypt_test.go
@@ -34,7 +34,7 @@ func TestEncryptionMechanism(t *testing.T) {
}
func TestHashing(t *testing.T) {
- assert.Equal(t, hashing("unsupportedHashAlgorithm", []byte{}), []uint8([]byte(nil)))
+ assert.Equal(t, hashing("unsupportedHashAlgorithm", []byte{}), []byte(nil))
}
func TestGenISOPasswdHash(t *testing.T) {