Update test
This commit is contained in:
parent
d0dbfcd9d0
commit
2cbac6eaf4
@ -18,9 +18,9 @@ local scurl = require "cURL.safe"
|
||||
local json = require "dkjson"
|
||||
local fname = "./test.download"
|
||||
|
||||
local ENABLE = false
|
||||
local ENABLE = true
|
||||
|
||||
local _ENV = TEST_CASE'easy' if true or ENABLE then
|
||||
local _ENV = TEST_CASE'easy' if ENABLE then
|
||||
|
||||
local e1, e2
|
||||
function teardown()
|
||||
@ -29,6 +29,8 @@ function teardown()
|
||||
e1, e2 = nil
|
||||
end
|
||||
|
||||
if curl.OPT_STREAM_DEPENDS then
|
||||
|
||||
function test_easy_setopt_stream_depends_1()
|
||||
e1 = assert(scurl.easy())
|
||||
e2 = assert(scurl.easy())
|
||||
@ -93,6 +95,8 @@ function test_easy_setopt_stream_depends_e_4()
|
||||
end)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function test_easy_setopt_share()
|
||||
e1 = assert(scurl.easy())
|
||||
e2 = assert(scurl.share())
|
||||
|
Loading…
x
Reference in New Issue
Block a user