aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test/test/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-14 02:59:41 -0400
committerEduardo Julian2018-07-14 02:59:41 -0400
commit0c0472862f5c1e543e6c5614a4cd112ac7d4cc13 (patch)
treea94c7cd4bf3c916296c5341c5fc043ca71acb184 /stdlib/test/test/lux.lux
parent69fefab57c40f323d759dc444dbcebad15071585 (diff)
- New syntax for bit values: "#0" and "#1", instead of "false" and "true".
- Small improvements to lux-mode.
Diffstat (limited to 'stdlib/test/test/lux.lux')
-rw-r--r--stdlib/test/test/lux.lux18
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/test/test/lux.lux b/stdlib/test/test/lux.lux
index 4f1a810c2..a4730e2ef 100644
--- a/stdlib/test/test/lux.lux
+++ b/stdlib/test/test/lux.lux
@@ -165,17 +165,17 @@
(test "Can create lists easily through macros."
(and (case (list 1 2 3)
(#.Cons 1 (#.Cons 2 (#.Cons 3 #.Nil)))
- true
+ #1
_
- false)
+ #0)
(case (list& 1 2 3 (list 4 5 6))
(#.Cons 1 (#.Cons 2 (#.Cons 3 (#.Cons 4 (#.Cons 5 (#.Cons 6 #.Nil))))))
- true
+ #1
_
- false)))
+ #0)))
(test "Can have defaults for Maybe values."
(and (is? "yolo" (maybe.default "yolo"
@@ -200,9 +200,9 @@
(context: "Cross-platform support."
($_ seq
(test "Can provide default in case there is no particular platform support."
- (for {"" false}
- true))
+ (for {"" #0}
+ #1))
(test "Can pick code depending on the platform being targeted."
- (for {"JVM" true
- "JS" true}
- false))))
+ (for {"JVM" #1
+ "JS" #1}
+ #0))))