Skip to content

Commit 9ddcd8d

Browse files
committed
tests: bump luacov to 0.15.0
1 parent d4e82aa commit 9ddcd8d

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

spec/build_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ describe("LuaRocks build #integration", function()
138138

139139
describe("basic builds", function()
140140
it("luacov diff version", function()
141-
assert.is_true(run.luarocks_bool("build luacov 0.13.0-1"))
142-
assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/luacov/0.13.0-1/luacov-0.13.0-1.rockspec"))
141+
assert.is_true(run.luarocks_bool("build luacov 0.15.0-1"))
142+
assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/luacov/0.15.0-1/luacov-0.15.0-1.rockspec"))
143143
end)
144144

145145
it("command stdlib", function()

spec/list_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ describe("luarocks list #integration", function()
2222

2323
it("--porcelain", function()
2424
local output = run.luarocks("list --porcelain")
25-
assert.is.truthy(output:find("luacov\t0.13.0-1\tinstalled\t" .. testing_paths.testing_sys_rocks, 1, true))
25+
assert.is.truthy(output:find("luacov\t0.15.0-1\tinstalled\t" .. testing_paths.testing_sys_rocks, 1, true))
2626
end)
2727

2828
it("shows version number", function()
2929
local output = run.luarocks("list")
3030
assert.is.truthy(output:find("luacov"))
31-
assert.matches("0.13.0-1", output, 1, true)
31+
assert.matches("0.15.0-1", output, 1, true)
3232
end)
3333

3434
it("LuaRocks install outdated and list it", function()

spec/new_version_spec.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ describe("luarocks new_version #integration", function()
4141

4242
describe("more complex tests", function()
4343
it("of luacov", function()
44-
assert.is_true(run.luarocks_bool("download --rockspec luacov 0.13.0"))
45-
assert.is_true(run.luarocks_bool("new_version luacov-0.13.0-1.rockspec 0.2"))
44+
assert.is_true(run.luarocks_bool("download --rockspec luacov 0.15.0"))
45+
assert.is_true(run.luarocks_bool("new_version luacov-0.15.0-1.rockspec 0.2"))
4646
assert.is.truthy(lfs.attributes("luacov-0.2-1.rockspec"))
4747
test_env.remove_files(lfs.currentdir(), "luacov%-")
4848
end)
@@ -55,8 +55,8 @@ describe("luarocks new_version #integration", function()
5555
end)
5656

5757
it("of luacov with tag", function()
58-
assert.is_true(run.luarocks_bool("download --rockspec luacov 0.13.0"))
59-
assert.is_true(run.luarocks_bool("new_version luacov-0.13.0-1.rockspec --tag v0.3"))
58+
assert.is_true(run.luarocks_bool("download --rockspec luacov 0.15.0"))
59+
assert.is_true(run.luarocks_bool("new_version luacov-0.15.0-1.rockspec --tag v0.3"))
6060
assert.is.truthy(lfs.attributes("luacov-0.3-1.rockspec"))
6161
test_env.remove_files(lfs.currentdir(), "luacov%-")
6262
end)

spec/show_spec.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ describe("luarocks show #integration", function()
4848

4949
it("rockspec of luacov", function()
5050
local output = run.luarocks("show --rockspec luacov")
51-
assert.is.truthy(output:match("luacov--0.13.0--1.rockspec"))
51+
assert.is.truthy(output:match("luacov--0.15.0--1.rockspec"))
5252
end)
5353

5454
it("mversion of luacov", function()
5555
local output = run.luarocks("show --mversion luacov")
56-
assert.is.truthy(output:match("0.13.0--1"))
56+
assert.is.truthy(output:match("0.15.0--1"))
5757
end)
5858

5959
it("rock tree of luacov", function()
@@ -74,8 +74,8 @@ describe("luarocks show #integration", function()
7474
end)
7575

7676
it("old version of luacov", function()
77-
run.luarocks("install luacov 0.13.0")
78-
run.luarocks_bool("show luacov 0.13.0")
77+
run.luarocks("install luacov 0.15.0")
78+
run.luarocks_bool("show luacov 0.15.0")
7979
end)
8080

8181
it("can find by substring", function()

spec/util/test_env.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,8 @@ function test_env.main()
940940
end
941941

942942
-- luacov is needed for both minimal or full environment
943-
table.insert(urls, "/luacov-0.13.0-1.rockspec")
944-
table.insert(urls, "/luacov-0.13.0-1.src.rock")
943+
table.insert(urls, "/luacov-0.15.0-1.rockspec")
944+
table.insert(urls, "/luacov-0.15.0-1.src.rock")
945945
table.insert(urls, "/cluacov-0.1.1-1.rockspec")
946946
table.insert(urls, "/cluacov-0.1.1-1.src.rock")
947947
table.insert(rocks, "luacov")

0 commit comments

Comments
 (0)