aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/hash.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/aedifex/hash.lux')
-rw-r--r--stdlib/source/test/aedifex/hash.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/aedifex/hash.lux b/stdlib/source/test/aedifex/hash.lux
index 61cb569fa..7271458b9 100644
--- a/stdlib/source/test/aedifex/hash.lux
+++ b/stdlib/source/test/aedifex/hash.lux
@@ -50,13 +50,13 @@
[(do random.monad
[expected (..random <hash>)]
(_.coverage [<hash> <constructor> <exception>]
- (and (case (<constructor> (/.data expected))
+ (and (when (<constructor> (/.data expected))
{try.#Success actual}
(at /.equivalence = expected actual)
{try.#Failure error}
false)
- (case (<constructor> (at binary.monoid composite
+ (when (<constructor> (at binary.monoid composite
(/.data expected)
(/.data expected)))
{try.#Success actual}
@@ -81,7 +81,7 @@
[(do random.monad
[expected (..random <hash>)]
(_.coverage [<codec>]
- (case (at <codec> decoded
+ (when (at <codec> decoded
(format (at <codec> encoded expected)
"AABBCC"))
{try.#Success actual}