aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/busted/outputHandlers/TAP.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/busted/outputHandlers/TAP.lua b/test/busted/outputHandlers/TAP.lua
index 3dd171dc1b..8dc4ff55b6 100644
--- a/test/busted/outputHandlers/TAP.lua
+++ b/test/busted/outputHandlers/TAP.lua
@@ -3,12 +3,14 @@
local global_helpers = require('test.helpers')
return function(options)
+ local busted = require 'busted'
local handler = require 'busted.outputHandlers.TAP'(options)
- handler.suiteEnd = function()
+ local suiteEnd = function()
io.write(global_helpers.read_nvim_log())
- return handler.suiteEnd()
+ return nil, true
end
+ busted.subscribe({ 'suite', 'end' }, suiteEnd)
return handler
end