From a643f96bd1b8048a08277f7992ca7d43ee2423c3 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Fri, 21 Sep 2018 16:40:18 -0400 Subject: Rewrite tests for readability Replace tables of tuples with simple function calls, and normalize argument order to have outputs to the right of inputs. Also factor out some common patterns. --- src/Data/Digest.hs | 2 +- src/Data/HMAC.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Data/Digest.hs b/src/Data/Digest.hs index 594fef1..3bc53b7 100644 --- a/src/Data/Digest.hs +++ b/src/Data/Digest.hs @@ -22,7 +22,7 @@ -} module Data.Digest ( -- * Computing digests - Digest + Digest(Digest) , hash -- * Digest algorithms diff --git a/src/Data/HMAC.hs b/src/Data/HMAC.hs index d8c36f1..0e5a67f 100644 --- a/src/Data/HMAC.hs +++ b/src/Data/HMAC.hs @@ -23,7 +23,7 @@ -} module Data.HMAC ( -- * Computing HMACs - HMAC + HMAC(HMAC) , hmac -- * Cryptographic hash algorithms -- cgit v1.2.3