aboutsummaryrefslogtreecommitdiff
path: root/busted/outputHandlers/TAP.lua
diff options
context:
space:
mode:
Diffstat (limited to 'busted/outputHandlers/TAP.lua')
-rw-r--r--busted/outputHandlers/TAP.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/busted/outputHandlers/TAP.lua b/busted/outputHandlers/TAP.lua
index ff93a7cc75..612e633576 100644
--- a/busted/outputHandlers/TAP.lua
+++ b/busted/outputHandlers/TAP.lua
@@ -1,7 +1,8 @@
--- TODO(jkeyes): remove this and use the upstream version as soon as it is
--- available in a release of busted.
+-- TODO(jkeyes): Use the upstream version when busted releases it. (But how to
+-- inject our call to global_helpers.read_nvim_log() ?)
local pretty = require 'pl.pretty'
+local global_helpers = require('test.helpers')
return function(options)
local busted = require 'busted'
@@ -18,6 +19,7 @@ return function(options)
end
handler.suiteEnd = function()
+ io.write(global_helpers.read_nvim_log())
print('1..' .. counter)
io.flush()
return nil, true