From a1c192d175f13cdb3e69b3ca5985d0d5ecf0fe93 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 19 Jul 2021 19:50:14 -0400 Subject: Made the default JS file-system promise-based so it works well on Node. --- stdlib/source/specification/lux/abstract/hash.lux | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'stdlib/source/specification') 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)))) -- cgit v1.2.3