aboutsummaryrefslogtreecommitdiff
path: root/spec/config_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2017-09-13 12:46:22 -0300
committerHisham Muhammad <hisham@gobolinux.org>2017-09-13 12:46:22 -0300
commitf1473f71235bb89555dea7041b536144d32bac8c (patch)
tree5c0b9215801ea1711c7919c1b42085d1b5687075 /spec/config_spec.lua
parent1eb598706f9000361f0059a303c3cf99be5a8ceb (diff)
parent9c853b1e7ec0f30e0e539fb56d7c81edbe5c8d7d (diff)
downloadluarocks-f1473f71235bb89555dea7041b536144d32bac8c.tar.gz
luarocks-f1473f71235bb89555dea7041b536144d32bac8c.tar.bz2
luarocks-f1473f71235bb89555dea7041b536144d32bac8c.zip
Merge branch 'luarocks-3'
Diffstat (limited to 'spec/config_spec.lua')
-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