diff options
Diffstat (limited to 'spec/show_spec.lua')
| -rw-r--r-- | spec/show_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/show_spec.lua b/spec/show_spec.lua index 380c2441..d07a8495 100644 --- a/spec/show_spec.lua +++ b/spec/show_spec.lua | |||
| @@ -48,12 +48,12 @@ describe("luarocks show #integration", function() | |||
| 48 | 48 | ||
| 49 | it("rockspec of luacov", function() | 49 | it("rockspec of luacov", function() |
| 50 | local output = run.luarocks("show --rockspec luacov") | 50 | 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")) |
| 52 | end) | 52 | end) |
| 53 | 53 | ||
| 54 | it("mversion of luacov", function() | 54 | it("mversion of luacov", function() |
| 55 | local output = run.luarocks("show --mversion luacov") | 55 | 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")) |
| 57 | end) | 57 | end) |
| 58 | 58 | ||
| 59 | it("rock tree of luacov", function() | 59 | it("rock tree of luacov", function() |
| @@ -74,8 +74,8 @@ describe("luarocks show #integration", function() | |||
| 74 | end) | 74 | end) |
| 75 | 75 | ||
| 76 | it("old version of luacov", function() | 76 | it("old version of luacov", function() |
| 77 | run.luarocks("install luacov 0.13.0") | 77 | run.luarocks("install luacov 0.15.0") |
| 78 | run.luarocks_bool("show luacov 0.13.0") | 78 | run.luarocks_bool("show luacov 0.15.0") |
| 79 | end) | 79 | end) |
| 80 | 80 | ||
| 81 | it("can find by substring", function() | 81 | it("can find by substring", function() |
