diff options
author | Hisham <hisham@gobolinux.org> | 2016-10-30 23:42:46 -0200 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-10-30 23:42:46 -0200 |
commit | 7090601b6b7288f0194b58f9d0e168392c8e6690 (patch) | |
tree | 67622cf4bfa7e0e27cfe52e3e3c5d302056424d4 /spec | |
parent | a7c10e670c2f682962e28984a43916f40b302b2b (diff) | |
parent | 27be765c4a846c0d4e970e154b29cbab1a833738 (diff) | |
download | luarocks-7090601b6b7288f0194b58f9d0e168392c8e6690.tar.gz luarocks-7090601b6b7288f0194b58f9d0e168392c8e6690.tar.bz2 luarocks-7090601b6b7288f0194b58f9d0e168392c8e6690.zip |
Merge branch 'new-cmd-dir' into luarocks-3
Diffstat (limited to 'spec')
-rw-r--r-- | spec/config_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/config_spec.lua b/spec/config_spec.lua index 4a7f4aea..cdb5ccc4 100644 --- a/spec/config_spec.lua +++ b/spec/config_spec.lua | |||
@@ -57,7 +57,8 @@ describe("LuaRocks config tests #blackbox #b_config", function() | |||
57 | end) | 57 | end) |
58 | 58 | ||
59 | it("LuaRocks config missing user config", function() | 59 | it("LuaRocks config missing user config", function() |
60 | assert.is_false(run.luarocks_bool("config --user-config", {LUAROCKS_CONFIG = "missing_file.lua"})) | 60 | local output = run.luarocks("config --user-config", {LUAROCKS_CONFIG = "missing_file.lua"}) |
61 | assert.truthy(output:match("Warning")) | ||
61 | end) | 62 | end) |
62 | end) | 63 | end) |
63 | 64 | ||