Skip to content

Commit

Permalink
Upgrade to luacov 0.11.0
Browse files Browse the repository at this point in the history
No need to use pause/resume anymore.
  • Loading branch information
mpeterv committed Apr 18, 2016
1 parent 2f0146b commit fee5e59
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions spec/cli_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ local multithreading = require "luacheck.multithreading"
local helper = require "spec.helper"
local luacheck_cmd = helper.luacheck_command()

setup(helper.before_command)
teardown(helper.after_command)

local function get_output(command, wd, color)
if color then
if package.config:sub(1, 1) == "\\" and not os.getenv("ANSICON") then
Expand Down
12 changes: 0 additions & 12 deletions spec/helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,4 @@ function helper.luacheck_command(loc_path)
return ("%s %sbin%sluacheck.lua"):format(cmd, prefix, dir_sep)
end

function helper.before_command()
if luacov then
luacov.pause()
end
end

function helper.after_command()
if luacov then
luacov.resume()
end
end

return helper

0 comments on commit fee5e59

Please sign in to comment.