diff options
Diffstat (limited to 'test/test.lua')
-rw-r--r-- | test/test.lua | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/test.lua b/test/test.lua index 60679eef..09caf59e 100644 --- a/test/test.lua +++ b/test/test.lua @@ -4835,11 +4835,7 @@ end assert(not WIN32 and not OSX, 'Test suite currently only runs on Linux') local TEST_OUTPUT_BUFFER = '[Test Output]' -local print_ = print -function print(...) - ui._print(TEST_OUTPUT_BUFFER, ...) - print_(...) -end +function print(...) ui._print(TEST_OUTPUT_BUFFER, ...) end -- Clean up after a previously failed test. local function cleanup() while #_BUFFERS > 1 do @@ -4866,7 +4862,7 @@ local function include_test(name) if patt:find('^%-') then if name:find(patt:sub(2)) then return false end excludes = true - elseif patt ~= 'quit' then + else if name:find(patt) then include = true end includes = true end @@ -4932,5 +4928,3 @@ else buffer:append_text('No LuaCov coverage to report.') end buffer:set_save_point() - -if arg[#arg] == 'quit' then quit() end |