aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test/test/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-04-05 06:18:46 -0400
committerEduardo Julian2018-04-05 06:18:46 -0400
commit3de94c8a341ef3f19fd75eeeb98e5333d2fe89d0 (patch)
treec12479a0fa5d22eaf4e1598c13be922153adf504 /stdlib/test/test/lux.lux
parente2c5e22768c4840842b86b3c0b26a3ad34cacb43 (diff)
- Re-named "is" to "is?".
Diffstat (limited to '')
-rw-r--r--stdlib/test/test/lux.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/test/test/lux.lux b/stdlib/test/test/lux.lux
index f5c5fd2f1..b8861eab6 100644
--- a/stdlib/test/test/lux.lux
+++ b/stdlib/test/test/lux.lux
@@ -18,11 +18,11 @@
y (r.text size)]
($_ seq
(test "Every value is identical to itself, and the 'id' function doesn't change values in any way."
- (and (is x x)
- (is x (id x))))
+ (and (is? x x)
+ (is? x (id x))))
(test "Values created separately can't be identical."
- (not (is x y)))
+ (not (is? x y)))
))))
(do-template [category rand-gen inc dec even? odd? = < >]
@@ -183,11 +183,11 @@
false)))
(test "Can have defaults for Maybe values."
- (and (is "yolo" (maybe.default "yolo"
- #.None))
+ (and (is? "yolo" (maybe.default "yolo"
+ #.None))
- (is "lol" (maybe.default "yolo"
- (#.Some "lol")))))
+ (is? "lol" (maybe.default "yolo"
+ (#.Some "lol")))))
))
(template: (hypotenuse x y)