aboutsummaryrefslogtreecommitdiff
path: root/spec/new_version_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-04-02 16:18:51 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-04-03 10:44:51 -0300
commit1ebc96ac47b72b9c7c226f14cd018ef5e4d62a74 (patch)
treef8c6c85191883077b1be62f542f99d256a5ba836 /spec/new_version_spec.lua
parent38c02b5e1e6c30733acc54736d1dc7369a0f3342 (diff)
downloadluarocks-1ebc96ac47b72b9c7c226f14cd018ef5e4d62a74.tar.gz
luarocks-1ebc96ac47b72b9c7c226f14cd018ef5e4d62a74.tar.bz2
luarocks-1ebc96ac47b72b9c7c226f14cd018ef5e4d62a74.zip
update to luacov 0.13.1 + cluacov 0.1.1
Diffstat (limited to 'spec/new_version_spec.lua')
-rw-r--r--spec/new_version_spec.lua8
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)