diff options
author | LiamDevine <none@none> | 2010-06-12 01:07:07 +0400 |
---|---|---|
committer | LiamDevine <none@none> | 2010-06-12 01:07:07 +0400 |
commit | c1cf499b2ac65ec880e5f92dfb82178fb870e7b2 (patch) | |
tree | d1bd232026064103863ed581275a3970a8fa137d /tests/testfx.lua | |
parent | fd6eff203aefae0a4a5f6a041ce3cdaf4f21f6c3 (diff) |
vcxproj support getting there
Diffstat (limited to 'tests/testfx.lua')
-rw-r--r-- | tests/testfx.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testfx.lua b/tests/testfx.lua index ff58c3a..4696878 100644 --- a/tests/testfx.lua +++ b/tests/testfx.lua @@ -21,6 +21,12 @@ end end + function test.string_does_not_contain(buffer, expected) + if string.find(buffer,expected) then + test.fail("\n==Fail==: Did not expected to find :\n%s\nyet it was found in buffer:\n%s\n", expected,buffer) + end + end + function test.capture(expected) local actual = io.endcapture() |