aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/test.lua b/src/luarocks/test.lua
index 23ce3b59..2a836671 100644
--- a/src/luarocks/test.lua
+++ b/src/luarocks/test.lua
@@ -62,7 +62,7 @@ function test.run_test_suite(rockspec_arg, test_type, args, prepare)
62 "test_dependencies", 62 "test_dependencies",
63 } 63 }
64 for _, dep_kind in ipairs(all_deps) do 64 for _, dep_kind in ipairs(all_deps) do
65 if next(rockspec[dep_kind]) then 65 if rockspec[dep_kind] and next(rockspec[dep_kind]) then
66 local ok, err, errcode = deps.fulfill_dependencies(rockspec, dep_kind, "all") 66 local ok, err, errcode = deps.fulfill_dependencies(rockspec, dep_kind, "all")
67 if err then 67 if err then
68 return nil, err, errcode 68 return nil, err, errcode