aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 22:35:54 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 22:35:54 +0800
commit76fa75b39439e6c8c83ebc03fb32aa615227cc44 (patch)
tree9b755296ae96dd5e4ced28d6de4d5abfdeb33915 /crypto/crypto_test.go
parent75d164037fb9bbf75def7c5501727fd634ef124f (diff)
parent32a9c0ca809508c1648b8f44f3e09725af7a80d3 (diff)
downloadgo-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.gz
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.bz2
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.lz
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.xz
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.zst
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.zip
wip
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) {