aboutsummaryrefslogtreecommitdiff
path: root/tests/Data/Digest/Md5Tests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Data/Digest/Md5Tests.hs')
-rw-r--r--tests/Data/Digest/Md5Tests.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Data/Digest/Md5Tests.hs b/tests/Data/Digest/Md5Tests.hs
index f7f62a7..bbc5fba 100644
--- a/tests/Data/Digest/Md5Tests.hs
+++ b/tests/Data/Digest/Md5Tests.hs
@@ -10,12 +10,12 @@ import Test.Tasty.SmallCheck (testProperty)
import Data.Digest.HashTests
(tableTestCase, testAgainstCoreutils, testAgainstOpenssl)
-import Data.Digest.Md5
+import Data.Digest (hash, md5)
tests :: TestTree
tests =
testGroup
- "Data.Digest.Md5"
+ "MD5"
[ testRfcExamples
, testGoExamples
, testCoreutilsConformance
@@ -106,4 +106,4 @@ testOpensslConformance =
-- Convenience function.
-md5sum = show . md5 . ByteString.Lazy.fromStrict
+md5sum = show . hash md5 . ByteString.Lazy.fromStrict