aboutsummaryrefslogtreecommitdiff
path: root/tests/Data/Digest/Sha2Tests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Data/Digest/Sha2Tests.hs')
-rw-r--r--tests/Data/Digest/Sha2Tests.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Data/Digest/Sha2Tests.hs b/tests/Data/Digest/Sha2Tests.hs
index 9efc714..b1faf27 100644
--- a/tests/Data/Digest/Sha2Tests.hs
+++ b/tests/Data/Digest/Sha2Tests.hs
@@ -10,7 +10,7 @@ import Test.Tasty.HUnit ((@?=), testCase)
import Test.Tasty.SmallCheck (testProperty)
import Data.Digest.HashTests
- (goTestCase, testAgainstCoreutils, testAgainstOpenssl)
+ (tableTestCase, testAgainstCoreutils, testAgainstOpenssl)
import Data.Digest.Sha2
tests :: TestTree
@@ -83,7 +83,7 @@ testGoExamples =
testGoSha224 =
testGroup "SHA-224" $
map
- (goTestCase sha224sum)
+ (tableTestCase sha224sum)
[ ( "d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f"
, ""
)
@@ -182,7 +182,7 @@ testGoSha224 =
testGoSha256 =
testGroup "SHA-256" $
map
- (goTestCase sha256sum)
+ (tableTestCase sha256sum)
[ ( "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
, ""
)
@@ -281,7 +281,7 @@ testGoSha256 =
testGoSha384 =
testGroup "SHA-384" $
map
- (goTestCase sha384sum)
+ (tableTestCase sha384sum)
[ ( "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"
, ""
)
@@ -379,7 +379,7 @@ testGoSha384 =
testGoSha512 =
testGroup "SHA-512" $
- map (goTestCase sha512sum)
+ map (tableTestCase sha512sum)
[ ( "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"
, ""
)