diff --git a/tests/lua/state.lua b/tests/lua/state.lua new file mode 100644 index 000000000..cb39a11ee --- /dev/null +++ b/tests/lua/state.lua @@ -0,0 +1,5 @@ +s = State() +s:eval([[ y = 5; print(x); print(y); ]]) +s:set("x", 10) +s:set("y", nil) +s:eval([[ print(x); print(y); ]])