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:
Diffstat (limited to 'tests/testfx.lua')
-rw-r--r--tests/testfx.lua8
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