aboutsummaryrefslogtreecommitdiff
path: root/tests/metaprogramming.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-12 20:06:33 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-12 20:06:37 -0700
commit63a19db0dc817d2929d8ef4bf12a15d5e9dbd015 (patch)
treef0067a6fabf270bfdc65ee742d1f1ad80ff57ba9 /tests/metaprogramming.nom
parentb0997a7dbffb636b8209055ed788fe1360aef25d (diff)
Working version.
Diffstat (limited to 'tests/metaprogramming.nom')
-rw-r--r--tests/metaprogramming.nom7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/metaprogramming.nom b/tests/metaprogramming.nom
index a31d030..a7a61d4 100644
--- a/tests/metaprogramming.nom
+++ b/tests/metaprogramming.nom
@@ -49,9 +49,10 @@ assume ((%1 = 2) and (%2 = 1)) or barf "'parse % as %' failed on 'swap % and %'"
swap %tmp and %tmp2
assume ((%tmp = 2) and (%tmp2 = 1)) or barf "'parse % as %' variable mangling failed."
-remove action (foo %)
-try: foo 99
-..and if it succeeds: barf "Failed to delete action"
+#
+ remove action (foo %)
+ try: foo 99
+ ..and if it succeeds: barf "Failed to delete action"
assume ((\(5 + 5) as value) = 10) or barf "%tree as value failed."