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.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/macro/template.lux b/stdlib/source/test/lux/macro/template.lux
index 9032453c5..8f85ff3ea 100644
--- a/stdlib/source/test/lux/macro/template.lux
+++ b/stdlib/source/test/lux/macro/template.lux
@@ -20,7 +20,7 @@
["." /]})
(/.with [(!pow/2 <scalar>)
- (nat.* <scalar> <scalar>)]
+ [(nat.* <scalar> <scalar>)]]
(def: pow/2
(-> Nat Nat)
(|>> !pow/2)))
@@ -88,10 +88,10 @@
(..pow/2 scalar))]
(and can_use_with_statements!
(/.with [(pow/3 <scalar>)
- ($_ nat.* <scalar> <scalar> <scalar>)
+ [($_ nat.* <scalar> <scalar> <scalar>)]
(pow/9 <scalar>)
- (pow/3 (pow/3 <scalar>))]
+ [(pow/3 (pow/3 <scalar>))]]
(let [can_use_with_expressions!
(nat.= ($_ nat.* scalar scalar scalar)
(pow/3 scalar))
@@ -114,13 +114,13 @@
))))
(_.cover [/.irregular_arguments]
(/.with [(arity/3 <0> <1> <2>)
- ""]
+ [""]]
(exception.match? /.irregular_arguments
(macro_error (arity/3 "a" "b")))))
(_.cover [/.cannot_shadow_definition]
(exception.match? /.cannot_shadow_definition
(macro_error (/.with [(macro_error <0> <1> <2>)
- ""]
+ [""]]
""))))
)))
))