aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/macro/template.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/macro/template.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/test/lux/macro/template.lux b/stdlib/source/test/lux/macro/template.lux
index 8fa6a00ca..902e84255 100644
--- a/stdlib/source/test/lux/macro/template.lux
+++ b/stdlib/source/test/lux/macro/template.lux
@@ -20,9 +20,9 @@
[left random.nat
mid random.nat
right random.nat]
- (with-expansions [<module> (as-is [-8.9 +6.7 .5 -4 +3 2 #1 #0 #c b "a"])
+ (with_expansions [<module> (as_is [-8.9 +6.7 .5 -4 +3 2 #1 #0 #c b "a"])
<module>' "-8.9+6.7.5-4+32#1#0cba"
- <short> (as-is ["a" b #c #0 #1 2 +3 -4 .5 +6.7 -8.9])
+ <short> (as_is ["a" b #c #0 #1 2 +3 -4 .5 +6.7 -8.9])
<short>' "abc#0#12+3-4.5+6.7-8.9"]
($_ _.and
(_.cover [/.splice]
@@ -38,23 +38,23 @@
<short>' true
_ false))
(_.cover [/.identifier]
- (and (case (`` (name-of (~~ (/.identifier <short>))))
+ (and (case (`` (name_of (~~ (/.identifier <short>))))
["" <short>'] true
_ false)
- (case (`` (name-of (~~ (/.identifier <module> <short>))))
+ (case (`` (name_of (~~ (/.identifier <module> <short>))))
[<module>' <short>'] true
_ false)
))
(_.cover [/.tag]
- (and (case (`` (name-of (~~ (/.tag <short>))))
+ (and (case (`` (name_of (~~ (/.tag <short>))))
["" <short>'] true
_ false)
- (case (`` (name-of (~~ (/.tag <module> <short>))))
+ (case (`` (name_of (~~ (/.tag <module> <short>))))
[<module>' <short>'] true
_ false)
))
- (_.cover [/.with-locals]
- (/.with-locals [var0 var1]
+ (_.cover [/.with_locals]
+ (/.with_locals [var0 var1]
(let [var0 left
var1 right]
(and (nat.= left var0)