diff options
author | starkos <none@none> | 2009-08-18 23:09:17 +0400 |
---|---|---|
committer | starkos <none@none> | 2009-08-18 23:09:17 +0400 |
commit | fa0208431a817cbad1cbac916c62440f90fe693c (patch) | |
tree | 7547a52bb799248d93d6eb83150e137910a9c39b /tests/testfx.lua | |
parent | 2ec723489b666a5f4742d67d86062ec244c9716f (diff) |
Added source file tree builder
Diffstat (limited to 'tests/testfx.lua')
-rw-r--r-- | tests/testfx.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testfx.lua b/tests/testfx.lua index 9c50a9c..129527a 100644 --- a/tests/testfx.lua +++ b/tests/testfx.lua @@ -104,6 +104,13 @@ end + function test.isnotnil(value) + if (value == nil) then + test.fail("expected not nil") + end + end + + function test.istrue(value) if (not value) then test.fail("expected true but was false") |