aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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