summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2013-08-07 12:11:03 -0700
committerNicolas Noble <pixel@nobis-crew.org>2013-08-07 12:11:03 -0700
commitf8688ca9cfa91e182d881f9bb25458945fc35194 (patch)
tree3c1aa09ccc13bc87c2ed63d6a79189c95c630f5a /tests
parent69f37968ab29e963d9163a7e72eca81bff17e3b7 (diff)
Updating Balau and test script to check proper destruction of loose objects.
Diffstat (limited to 'tests')
-rw-r--r--tests/test2.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test2.lua b/tests/test2.lua
index d023ba5..807e861 100644
--- a/tests/test2.lua
+++ b/tests/test2.lua
@@ -3,4 +3,9 @@ function test2()
i:open()
i:close()
i:destroy()
+
+ i = Input.new "tests/test1.lua"
+ i = nil
+
+ collectgarbage()
end