diff options
Diffstat (limited to 'spec/cmd_spec.lua')
| -rw-r--r-- | spec/cmd_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/cmd_spec.lua b/spec/cmd_spec.lua index 705b8845..2c3f9f47 100644 --- a/spec/cmd_spec.lua +++ b/spec/cmd_spec.lua | |||
| @@ -46,6 +46,10 @@ describe("LuaRocks command line #integration", function() | |||
| 46 | it("passes if given a valid path with Lua", function() | 46 | it("passes if given a valid path with Lua", function() |
| 47 | assert.truthy(run.luarocks("--lua-dir=" .. test_env.testing_paths.luadir)) | 47 | assert.truthy(run.luarocks("--lua-dir=" .. test_env.testing_paths.luadir)) |
| 48 | end) | 48 | end) |
| 49 | |||
| 50 | it("passes if given a quoted path with Lua", function() | ||
| 51 | assert.truthy(run.luarocks("--lua-dir '" .. test_env.testing_paths.luadir .. "'")) | ||
| 52 | end) | ||
| 49 | end) | 53 | end) |
| 50 | 54 | ||
| 51 | describe("--lua-version", function() | 55 | describe("--lua-version", function() |
