tests, fixed a major bug i didn't catch before
This commit is contained in:
parent
9b4a7932b6
commit
ddd8de4d67
|
@ -0,0 +1,3 @@
|
|||
@[{
|
||||
fuck
|
||||
}]
|
|
@ -0,0 +1 @@
|
|||
--#error "fuck\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
|
|
@ -0,0 +1,3 @@
|
|||
@[[for i=1, 10 do]]
|
||||
print("hello @[{i}]")
|
||||
@[[end]]
|
|
@ -0,0 +1,2 @@
|
|||
@[[
|
||||
lmao
|
|
@ -0,0 +1,2 @@
|
|||
-- include file
|
||||
--#include "nopreproc.lua"
|
|
@ -0,0 +1 @@
|
|||
print("test")
|
|
@ -0,0 +1,5 @@
|
|||
for test in $(find -name "*.lua"); do
|
||||
echo "Running test $test"
|
||||
luacomp $test > $test.out
|
||||
echo "=============================================================="
|
||||
done
|
|
@ -0,0 +1,6 @@
|
|||
-- raw evar
|
||||
print("your shell is $[{SHELL}]")
|
||||
-- evar string
|
||||
print("your shell is "..$(SHELL))
|
||||
-- cat
|
||||
$[[cat nopreproc.lua]]
|
Loading…
Reference in New Issue