diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 15:12:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 15:14:07 -0700 |
| commit | b5fb8933af283d2b873a03ded085e8b69f374e81 (patch) | |
| tree | 5cf00c528eb339d5a9f4491652f8a9a0601d943b /tests/metaprogramming.nom | |
| parent | 0c9973ff0363e400d3d284339b77197c40c3f60c (diff) | |
Removed dependency on 'immutable' library. This lets LuaJIT do more
aggressive optimizations and generally helps performance. Some safety is
lost, but I think the performance gains, reduced complexity, and reduced
dependencies are worth it.
Diffstat (limited to 'tests/metaprogramming.nom')
| -rw-r--r-- | tests/metaprogramming.nom | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/metaprogramming.nom b/tests/metaprogramming.nom index b9b97af..a31d030 100644 --- a/tests/metaprogramming.nom +++ b/tests/metaprogramming.nom @@ -55,7 +55,9 @@ try: foo 99 assume ((\(5 + 5) as value) = 10) or barf "%tree as value failed." -assume ("\(\(foo %x) as nomsu)" = "foo %x") or barf "source code failed." +assume ("\(\(foo %x) as nomsu)" = "foo %x") or barf "action source code failed." + +assume ("\(\%x as nomsu)" = "%x") or barf "var source code failed." assume ((type of {}) = "table") or barf "type of failed." |
