diff options
Diffstat (limited to 'spec/cmd_spec.lua')
-rw-r--r-- | spec/cmd_spec.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/cmd_spec.lua b/spec/cmd_spec.lua index 9067a160..20248af7 100644 --- a/spec/cmd_spec.lua +++ b/spec/cmd_spec.lua | |||
@@ -56,12 +56,6 @@ describe("LuaRocks command line #integration", function() | |||
56 | assert.match("malformed", output, 1, true) | 56 | assert.match("malformed", output, 1, true) |
57 | end) | 57 | end) |
58 | 58 | ||
59 | it("warns but continues if given an invalid version", function() | ||
60 | local output = run.luarocks("--lua-version=1.0") | ||
61 | assert.match("LUA *: %(not found%)", output) | ||
62 | assert.match("Version%s*:%s*1.0", output) | ||
63 | end) | ||
64 | |||
65 | it("sets the version independently of project tree", function() | 59 | it("sets the version independently of project tree", function() |
66 | test_env.run_in_tmp(function(tmpdir) | 60 | test_env.run_in_tmp(function(tmpdir) |
67 | assert.truthy(run.luarocks_bool("init --lua-version=" .. test_env.lua_version .. " --lua-versions=" .. test_env.lua_version)) | 61 | assert.truthy(run.luarocks_bool("init --lua-version=" .. test_env.lua_version .. " --lua-versions=" .. test_env.lua_version)) |