Skip to content

Commit

Permalink
use ‘show’ in place of ‘String’
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed May 26, 2018
1 parent 66252ff commit 6574f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand Down

0 comments on commit 6574f50

Please sign in to comment.