diff options
-rw-r--r-- | src/luarocks/test/busted.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luarocks/test/busted.lua b/src/luarocks/test/busted.lua index c27c449c..618054c7 100644 --- a/src/luarocks/test/busted.lua +++ b/src/luarocks/test/busted.lua | |||
@@ -46,8 +46,9 @@ function busted.run_tests(test, args) | |||
46 | table.insert(args, i, test.flags[i]) | 46 | table.insert(args, i, test.flags[i]) |
47 | end | 47 | end |
48 | end | 48 | end |
49 | 49 | ||
50 | local ok, err = fs.execute(busted_exe, unpack(args)) | 50 | local err |
51 | ok, err = fs.execute(busted_exe, unpack(args)) | ||
51 | if ok then | 52 | if ok then |
52 | return true | 53 | return true |
53 | else | 54 | else |