diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-01 21:29:56 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-01 22:54:08 -0300 |
commit | 672b4f191ac5723ee460e469d58fff2ca2cb386b (patch) | |
tree | 66b89aafa648a037ca82aa99fe44df0fa71c9765 | |
parent | 4ba08b6f252fd90014c4f43b7c50aeb24d1f1de7 (diff) | |
download | luarocks-672b4f191ac5723ee460e469d58fff2ca2cb386b.tar.gz luarocks-672b4f191ac5723ee460e469d58fff2ca2cb386b.tar.bz2 luarocks-672b4f191ac5723ee460e469d58fff2ca2cb386b.zip |
test.busted: luacheck fix
-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 |