aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-10-29 16:13:44 -0200
committerHisham <hisham@gobolinux.org>2016-10-29 16:13:44 -0200
commitdb7814136e3ce45141d3582738dc36ad3596df2c (patch)
tree75609e32495eb4aae39df8abe961bf200a0630f9
parent5c140a5da73d304653621a0ac40f363d234928ed (diff)
downloadluarocks-db7814136e3ce45141d3582738dc36ad3596df2c.tar.gz
luarocks-db7814136e3ce45141d3582738dc36ad3596df2c.tar.bz2
luarocks-db7814136e3ce45141d3582738dc36ad3596df2c.zip
This doesn't produce an error, only a warning.
-rw-r--r--spec/config_spec.lua3
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