Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarkos <none@none>2009-08-18 23:09:17 +0400
committerstarkos <none@none>2009-08-18 23:09:17 +0400
commitfa0208431a817cbad1cbac916c62440f90fe693c (patch)
tree7547a52bb799248d93d6eb83150e137910a9c39b /tests/testfx.lua
parent2ec723489b666a5f4742d67d86062ec244c9716f (diff)
Added source file tree builder
Diffstat (limited to 'tests/testfx.lua')
-rw-r--r--tests/testfx.lua7
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")