summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test2.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test2.lua b/tests/test2.lua
index 807e861..f1cd073 100644
--- a/tests/test2.lua
+++ b/tests/test2.lua
@@ -5,7 +5,13 @@ function test2()
i:destroy()
i = Input.new "tests/test1.lua"
+ i:open()
i = nil
collectgarbage()
+
+ i = Input.new "tests/test1.lua"
+ i:open()
+ print(i:readU8())
+ i:destroy()
end