diff options
Diffstat (limited to 'Tools/LuaMacro/tests/test-atm.lua')
-rw-r--r-- | Tools/LuaMacro/tests/test-atm.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tools/LuaMacro/tests/test-atm.lua b/Tools/LuaMacro/tests/test-atm.lua new file mode 100644 index 0000000..7832b8d --- /dev/null +++ b/Tools/LuaMacro/tests/test-atm.lua @@ -0,0 +1,13 @@ +@let env = os.getenv +@if env 'P' +print 'P env was set' +@if A +print 'Global A was true' +@end +@elseif A +print 'Global A was true, no P' +@else +print 'Neither P or A' +@end + + |