aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 23:08:30 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 23:08:30 +0800
commit5c251b69282b3992512d0c17ed0063f294a0e663 (patch)
tree7842c1a6ac8394e8bebfd4f27c9222b497aaf0f6 /crypto/crypto_test.go
parent75d164037fb9bbf75def7c5501727fd634ef124f (diff)
parentbde3ff16ad98cb4ab0befc899f7f0584d21ff9a4 (diff)
downloaddexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.gz
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.bz2
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.lz
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.xz
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.zst
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.zip
Merge branch 'fjl-poc8-net-integration' into develop
Diffstat (limited to 'crypto/crypto_test.go')
-rw-r--r--crypto/crypto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go
index 441733f93..c68856622 100644
--- a/crypto/crypto_test.go
+++ b/crypto/crypto_test.go
@@ -18,7 +18,7 @@ import (
func TestSha3(t *testing.T) {
msg := []byte("abc")
exp, _ := hex.DecodeString("4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45")
- checkhash(t, "Sha3-256", Sha3, msg, exp)
+ checkhash(t, "Sha3-256", func(in []byte) []byte { return Sha3(in) }, msg, exp)
}
func TestSha256(t *testing.T) {