diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-04-11 07:55:24 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-04-11 08:46:59 -0300 |
commit | 484fd734ab6d90f76a93e634d869fdb18ace3f5f (patch) | |
tree | 47968c16b0092d0a37e73074df2ac127c9934fb2 /third-party/utfTerminalDetailed.lua | |
parent | ad8d415e3aa93de14fea07a83433d834d5fb64c5 (diff) | |
download | rneovim-484fd734ab6d90f76a93e634d869fdb18ace3f5f.tar.gz rneovim-484fd734ab6d90f76a93e634d869fdb18ace3f5f.tar.bz2 rneovim-484fd734ab6d90f76a93e634d869fdb18ace3f5f.zip |
build: Remove busted output handler utfTerminalDetailed
Busted now contains "gtest", which can be used for the same purpose as
utfTerminalDetailed.
Diffstat (limited to 'third-party/utfTerminalDetailed.lua')
-rw-r--r-- | third-party/utfTerminalDetailed.lua | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/third-party/utfTerminalDetailed.lua b/third-party/utfTerminalDetailed.lua deleted file mode 100644 index 5a52dfa958..0000000000 --- a/third-party/utfTerminalDetailed.lua +++ /dev/null @@ -1,27 +0,0 @@ --- busted output handler that immediately prints file and test names before --- tests are executed. It simplifies identifying which tests are --- hanging/crashing -if package.config:sub(1,1) == '\\' and not os.getenv("ANSICON") then - -- Disable colors on Windows. - colors = setmetatable({}, {__index = function() return function(s) return s end end}) -else - colors = require 'term.colors' -end - -return function(options, busted) - local handler = require 'busted.outputHandlers.utfTerminal'(options, busted) - - handler.fileStart = function(name) - io.write('\n' .. colors.cyan(name) .. ':') - end - - handler.testStart = function(element, parent, status, debug) - io.write('\n ' .. handler.getFullName(element) .. ' ... ') - io.flush() - end - - busted.subscribe({ 'file', 'start' }, handler.fileStart) - busted.subscribe({ 'test', 'start' }, handler.testStart) - - return handler -end |