Skip to content

Commit

Permalink
Merge pull request #599 from mkpankov/cache-io
Browse files Browse the repository at this point in the history
Cache io to be robust about mocking io in tests
  • Loading branch information
ajacksified committed Jun 28, 2019
2 parents d4759b4 + ff73042 commit dc99249
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions busted/outputHandlers/TAP.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local pretty = require 'pl.pretty'
local io = io

return function(options)
local busted = require 'busted'
Expand Down
1 change: 1 addition & 0 deletions busted/outputHandlers/gtest.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local s = require 'say'
local pretty = require 'pl.pretty'
local term = require 'term'
local io = io

local colors

Expand Down
1 change: 1 addition & 0 deletions busted/outputHandlers/junit.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local xml = require 'pl.xml'
local string = require("string")
local io = io

return function(options)
local busted = require 'busted'
Expand Down
1 change: 1 addition & 0 deletions busted/outputHandlers/plainTerminal.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local s = require 'say'
local pretty = require 'pl.pretty'
local io = io

return function(options)
local busted = require 'busted'
Expand Down
2 changes: 2 additions & 0 deletions busted/outputHandlers/sound.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
local app = require 'pl.app'
local io = io

return function(options)
local busted = require 'busted'
local handler = require 'busted.outputHandlers.base'()
Expand Down
1 change: 1 addition & 0 deletions busted/outputHandlers/utfTerminal.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local s = require 'say'
local pretty = require 'pl.pretty'
local io = io

local colors

Expand Down

0 comments on commit dc99249

Please sign in to comment.