summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-07 23:22:56 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-07 23:22:56 +0200
commit1757992dbb4e12412ed6310680df20f3c2a4dd62 (patch)
treea88bdcbb80a73bcdf506dd8fb38ed54e889269cd
parentf8688ca9cfa91e182d881f9bb25458945fc35194 (diff)
Updating test for handles a bit.
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