aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/specification
diff options
context:
space:
mode:
authorEduardo Julian2021-07-19 19:50:14 -0400
committerEduardo Julian2021-07-19 19:50:14 -0400
commita1c192d175f13cdb3e69b3ca5985d0d5ecf0fe93 (patch)
tree29d2cd841283ed1ada5a6d3199ce7617c9514c0f /stdlib/source/specification
parenta40f40f230e6312ae432f06e7f73aa5945d8fa49 (diff)
Made the default JS file-system promise-based so it works well on Node.
Diffstat (limited to 'stdlib/source/specification')
-rw-r--r--stdlib/source/specification/lux/abstract/hash.lux7
1 files changed, 3 insertions, 4 deletions
diff --git a/stdlib/source/specification/lux/abstract/hash.lux b/stdlib/source/specification/lux/abstract/hash.lux
index 4722a48a0..e55c8b549 100644
--- a/stdlib/source/specification/lux/abstract/hash.lux
+++ b/stdlib/source/specification/lux/abstract/hash.lux
@@ -4,8 +4,6 @@
["_" test (#+ Test)]
[abstract
[monad (#+ do)]]
- [data
- ["." bit ("#\." equivalence)]]
[math
["." random (#+ Random)]
[number
@@ -19,5 +17,6 @@
[parameter random
subject random]
(_.cover [/.Hash]
- (bit\= (\= parameter subject)
- (n.= (\hash parameter) (\hash subject))))))
+ (if (\= parameter subject)
+ (n.= (\hash parameter) (\hash subject))
+ true))))