From 6574f50baf6bb089f612e09b22adacde93e48961 Mon Sep 17 00:00:00 2001 From: David Chambers Date: Sat, 26 May 2018 18:26:11 +0200 Subject: [PATCH] =?UTF-8?q?use=20=E2=80=98show=E2=80=99=20in=20place=20of?= =?UTF-8?q?=20=E2=80=98String=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 2093ac7..57e4f56 100644 --- a/test/index.js +++ b/test/index.js @@ -335,7 +335,7 @@ suite ('ChainRec laws', () => { testLaws (laws.ChainRec (Z.equals, Either)) ({ equivalence: [ jsc.constant (x => x >= 1000), - jsc.constant (x => x <= 1 ? Left (String (x) + ' <= 1') : Right (x * x)), + jsc.constant (x => x <= 1 ? Left (show (x) + ' <= 1') : Right (x * x)), jsc.constant (Right), jsc.integer, ],