aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-26 15:04:31 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-26 15:04:38 -0700
commit8cb2788e0dc514e6d6436a7a03e87e414327ec94 (patch)
tree47c76bbc2d142c200262d3beaf4ad59fc56ca385 /tests
parent0b4a81191ae61d53832d85614f0bb0f2912d7a39 (diff)
Re-added sources.
Diffstat (limited to 'tests')
-rw-r--r--tests/metaprogramming.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/metaprogramming.nom b/tests/metaprogramming.nom
index ac27394..9a4c9b2 100644
--- a/tests/metaprogramming.nom
+++ b/tests/metaprogramming.nom
@@ -54,10 +54,10 @@ assume (((\%x as lua identifier) as text) = "_x") or barf "converting to identif
assume ((run "return 99") = 99) or barf "run % failed."
-say "Metaprogramming test passed."
-
%code <-: Lua "global_x = true;"
lua> %code
assume (=lua "global_x") or barf "Running lua from a variable failed."
%code <-: Lua value "global_x"
assume (=lua %code) or barf "Running lua from a variable failed."
+
+say "Metaprogramming test passed."