use turbo library in coverage test

pull/1543/head
chrox 9 years ago
parent c7cac7b333
commit a59621953d

@ -21,3 +21,6 @@ Input.dummy = true
-- turn on debug
local DEBUG = require("dbg")
--DEBUG:turnOn()
-- use turbo lib in test
DUSE_TURBO_LIB = true

@ -12,12 +12,6 @@ describe("HTTP client module", function()
assert(not res.error, "error occurs")
assert(res.body)
end
setup(function()
DUSE_TURBO_LIB = true
end)
teardown(function()
DUSE_TURBO_LIB = false
end)
local async_client = HTTPClient:new()
it("should get response from async GET request", function()
UIManager:quit()

Loading…
Cancel
Save