summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------Balau0
-rw-r--r--tests/test2.lua6
2 files changed, 6 insertions, 0 deletions
diff --git a/Balau b/Balau
-Subproject 4ac6cc16fd54c12161b131e3b9bab0ac17dc4d0
+Subproject 97fcb80cb047a1e72ec39dc14a5d790461fa84b
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