summaryrefslogtreecommitdiff
path: root/tests/test2.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test2.lua')
-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