aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/util/test_env.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index 998aeb2b..7b5b66b9 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -324,9 +324,9 @@ local function download_rocks(urls, save_path)
324 -- check if already downloaded 324 -- check if already downloaded
325 if not test_env.exists(save_path .. url) then 325 if not test_env.exists(save_path .. url) then
326 if test_env.TEST_TARGET_OS == "windows" then 326 if test_env.TEST_TARGET_OS == "windows" then
327 execute_bool(test_env.testing_paths.win_tools .. "/wget -cP " .. save_path .. " " .. luarocks_repo .. url .. " --no-check-certificate") 327 assert(execute_bool(test_env.testing_paths.win_tools .. "/wget -cP " .. save_path .. " " .. luarocks_repo .. url .. " --no-check-certificate"))
328 else 328 else
329 execute_bool("wget -cP " .. save_path .. " " .. luarocks_repo .. url) 329 assert(execute_bool("wget -cP " .. save_path .. " " .. luarocks_repo .. url))
330 end 330 end
331 make_manifest = true 331 make_manifest = true
332 end 332 end