diff options
Diffstat (limited to 'spec/new_version_spec.lua')
-rw-r--r-- | spec/new_version_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/new_version_spec.lua b/spec/new_version_spec.lua index 22506d3c..e8952f75 100644 --- a/spec/new_version_spec.lua +++ b/spec/new_version_spec.lua | |||
@@ -41,8 +41,8 @@ describe("LuaRocks new_version tests #integration", function() | |||
41 | 41 | ||
42 | describe("more complex tests", function() | 42 | describe("more complex tests", function() |
43 | it("of luacov", function() | 43 | it("of luacov", function() |
44 | assert.is_true(run.luarocks_bool("download --rockspec luacov 0.11.0")) | 44 | assert.is_true(run.luarocks_bool("download --rockspec luacov 0.13.0")) |
45 | assert.is_true(run.luarocks_bool("new_version luacov-0.11.0-1.rockspec 0.2")) | 45 | assert.is_true(run.luarocks_bool("new_version luacov-0.13.0-1.rockspec 0.2")) |
46 | assert.is.truthy(lfs.attributes("luacov-0.2-1.rockspec")) | 46 | assert.is.truthy(lfs.attributes("luacov-0.2-1.rockspec")) |
47 | test_env.remove_files(lfs.currentdir(), "luacov%-") | 47 | test_env.remove_files(lfs.currentdir(), "luacov%-") |
48 | end) | 48 | end) |
@@ -55,8 +55,8 @@ describe("LuaRocks new_version tests #integration", function() | |||
55 | end) | 55 | end) |
56 | 56 | ||
57 | it("of luacov with tag", function() | 57 | it("of luacov with tag", function() |
58 | assert.is_true(run.luarocks_bool("download --rockspec luacov 0.11.0")) | 58 | assert.is_true(run.luarocks_bool("download --rockspec luacov 0.13.0")) |
59 | assert.is_true(run.luarocks_bool("new_version luacov-0.11.0-1.rockspec --tag v0.3")) | 59 | assert.is_true(run.luarocks_bool("new_version luacov-0.13.0-1.rockspec --tag v0.3")) |
60 | assert.is.truthy(lfs.attributes("luacov-0.3-1.rockspec")) | 60 | assert.is.truthy(lfs.attributes("luacov-0.3-1.rockspec")) |
61 | test_env.remove_files(lfs.currentdir(), "luacov%-") | 61 | test_env.remove_files(lfs.currentdir(), "luacov%-") |
62 | end) | 62 | end) |