diff options
author | Jason Perkins <starkos@industriousone.com> | 2011-07-01 23:05:16 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2011-07-01 23:05:16 +0400 |
commit | 86ad3166a04bec5b1032f89656dd85e2c1587bed (patch) | |
tree | de16f961168851bf09517481586865037dea2d4a /tests/testfx.lua | |
parent | e87f4851c3841159dc4d02d1703da5df55839261 (diff) |
Implemented vpaths for VS2010
Diffstat (limited to 'tests/testfx.lua')
-rw-r--r-- | tests/testfx.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testfx.lua b/tests/testfx.lua index d3cd44a..1182a13 100644 --- a/tests/testfx.lua +++ b/tests/testfx.lua @@ -86,6 +86,14 @@ end end + + function test.isemptycapture() + local actual = io.endcapture() + if actual ~= "" then + test.fail("expected empty capture, but was %s", actual); + end + end + function test.isequal(expected, actual) if (type(expected) == "table") then |