From 1757992dbb4e12412ed6310680df20f3c2a4dd62 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 7 Aug 2013 23:22:56 +0200 Subject: Updating test for handles a bit. --- tests/test2.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3