summaryrefslogtreecommitdiff
path: root/funcs/crypto_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/crypto_test.go')
-rw-r--r--funcs/crypto_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/funcs/crypto_test.go b/funcs/crypto_test.go
index 163fbd55..93cadb41 100644
--- a/funcs/crypto_test.go
+++ b/funcs/crypto_test.go
@@ -21,7 +21,7 @@ func TestCreateCryptoFuncs(t *testing.T) {
fmap := CreateCryptoFuncs(ctx)
actual := fmap["crypto"].(func() interface{})
- assert.Same(t, ctx, actual().(*CryptoFuncs).ctx)
+ assert.Equal(t, ctx, actual().(*CryptoFuncs).ctx)
})
}
}
@@ -55,6 +55,7 @@ func TestWPAPSK(t *testing.T) {
require.NoError(t, err)
}
+//nolint:gosec
func TestSHA(t *testing.T) {
t.Parallel()