diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-07 06:33:09 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-07 06:33:09 +0200 |
commit | 69f37968ab29e963d9163a7e72eca81bff17e3b7 (patch) | |
tree | b9b610ba3602435e5c0c5bb74bc618b1a5a59f26 /tests | |
parent | 18379e15998e96ca604c10adc6295cc4b89ae8e4 (diff) |
Adding LuaHandle support.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/alltests.lua | 2 | ||||
-rw-r--r-- | tests/test2.lua | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/alltests.lua b/tests/alltests.lua index d0feda2..d4088e6 100644 --- a/tests/alltests.lua +++ b/tests/alltests.lua @@ -1,5 +1,7 @@ load "tests/test1.lua" +load "tests/test2.lua" function runtests() test1() + test2() end diff --git a/tests/test2.lua b/tests/test2.lua new file mode 100644 index 0000000..d023ba5 --- /dev/null +++ b/tests/test2.lua @@ -0,0 +1,6 @@ +function test2() + local i = Input.new "tests/test1.lua" + i:open() + i:close() + i:destroy() +end |