diff options
| author | Hisham <hisham@gobolinux.org> | 2016-10-30 23:32:30 -0200 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-10-30 23:32:30 -0200 |
| commit | 27be765c4a846c0d4e970e154b29cbab1a833738 (patch) | |
| tree | 1436b7eed4dc61a8b9df0cfed512b477d9a8f8ac /spec/config_spec.lua | |
| parent | ba1ba4be6e0ecc6936c49fae38c71e22250ceb65 (diff) | |
| parent | f8bd89d27323403dd9de9772a7974b439b37b29d (diff) | |
| download | luarocks-27be765c4a846c0d4e970e154b29cbab1a833738.tar.gz luarocks-27be765c4a846c0d4e970e154b29cbab1a833738.tar.bz2 luarocks-27be765c4a846c0d4e970e154b29cbab1a833738.zip | |
Merge branch 'new-cmd-dir'
Diffstat (limited to 'spec/config_spec.lua')
| -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 | ||
