diff options
author | Hisham <hisham@gobolinux.org> | 2016-09-08 14:04:40 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-09-08 14:04:40 -0300 |
commit | f91fc9a6ef9ef488c709894a29ce63db2bc1e399 (patch) | |
tree | 3b9dbbe28ad79f2d1115b2048f3cbf9738303373 /spec/help_spec.lua | |
parent | c6d48427430b6b96f88b249dee1533fb5e6ff681 (diff) | |
download | luarocks-f91fc9a6ef9ef488c709894a29ce63db2bc1e399.tar.gz luarocks-f91fc9a6ef9ef488c709894a29ce63db2bc1e399.tar.bz2 luarocks-f91fc9a6ef9ef488c709894a29ce63db2bc1e399.zip |
Tests: luarocks_bool commands log their outputs on failure.
Diffstat (limited to 'spec/help_spec.lua')
-rw-r--r-- | spec/help_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/help_spec.lua b/spec/help_spec.lua index 88aa5030..71b1b9f6 100644 --- a/spec/help_spec.lua +++ b/spec/help_spec.lua | |||
@@ -10,7 +10,7 @@ describe("LuaRocks help tests #blackbox #b_help", function() | |||
10 | end) | 10 | end) |
11 | 11 | ||
12 | it("LuaRocks help with no flags/arguments", function() | 12 | it("LuaRocks help with no flags/arguments", function() |
13 | assert.is_true(run.luarocks_bool(test_env.quiet("help"))) | 13 | assert.is_true(run.luarocks_bool("help")) |
14 | end) | 14 | end) |
15 | 15 | ||
16 | it("LuaRocks help invalid argument", function() | 16 | it("LuaRocks help invalid argument", function() |
@@ -18,7 +18,7 @@ describe("LuaRocks help tests #blackbox #b_help", function() | |||
18 | end) | 18 | end) |
19 | 19 | ||
20 | it("LuaRocks help config", function() | 20 | it("LuaRocks help config", function() |
21 | assert.is_true(run.luarocks_bool(test_env.quiet("help config"))) | 21 | assert.is_true(run.luarocks_bool("help config")) |
22 | end) | 22 | end) |
23 | 23 | ||
24 | it("LuaRocks-admin help with no flags/arguments", function() | 24 | it("LuaRocks-admin help with no flags/arguments", function() |