diff options
| author | Hisham <hisham@gobolinux.org> | 2016-10-14 16:38:51 -0700 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-10-14 16:38:51 -0700 |
| commit | 075196e8b5d315888a8ae110fa9a18089044ae3b (patch) | |
| tree | eca3eb78c23f8d85dbe625564a2d66966d6281f1 /spec/show_spec.lua | |
| parent | dbca97cdcc15e386554b2631a0ae7aca02500abf (diff) | |
| parent | 1fea0e3a0972bcc6b4319cd3d9e79834562486bc (diff) | |
| download | luarocks-075196e8b5d315888a8ae110fa9a18089044ae3b.tar.gz luarocks-075196e8b5d315888a8ae110fa9a18089044ae3b.tar.bz2 luarocks-075196e8b5d315888a8ae110fa9a18089044ae3b.zip | |
Merge branch 'master' into luarocks-3
Diffstat (limited to 'spec/show_spec.lua')
| -rw-r--r-- | spec/show_spec.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/show_spec.lua b/spec/show_spec.lua index f528a6de..b2cdc07e 100644 --- a/spec/show_spec.lua +++ b/spec/show_spec.lua | |||
| @@ -20,10 +20,12 @@ describe("LuaRocks show tests #blackbox #b_show", function() | |||
| 20 | 20 | ||
| 21 | it("LuaRocks show luacov", function() | 21 | it("LuaRocks show luacov", function() |
| 22 | local output = run.luarocks("show luacov") | 22 | local output = run.luarocks("show luacov") |
| 23 | assert.is.truthy(output:match("LuaCov")) | ||
| 23 | end) | 24 | end) |
| 24 | 25 | ||
| 25 | it("LuaRocks show modules of luacov", function() | 26 | it("LuaRocks show modules of luacov", function() |
| 26 | local output = run.luarocks("show --modules luacov") | 27 | local output = run.luarocks("show --modules luacov") |
| 28 | assert.is.truthy(output:match("luacovluacov.defaultsluacov.reporterluacov.reporter.defaultluacov.runnerluacov.statsluacov.tick")) | ||
| 27 | end) | 29 | end) |
| 28 | 30 | ||
| 29 | it("LuaRocks show dependencies of luacov", function() | 31 | it("LuaRocks show dependencies of luacov", function() |
| @@ -32,10 +34,12 @@ describe("LuaRocks show tests #blackbox #b_show", function() | |||
| 32 | 34 | ||
| 33 | it("LuaRocks show rockspec of luacov", function() | 35 | it("LuaRocks show rockspec of luacov", function() |
| 34 | local output = run.luarocks("show --rockspec luacov") | 36 | local output = run.luarocks("show --rockspec luacov") |
| 37 | assert.is.truthy(output:match("luacov--0.11.0--1.rockspec")) | ||
| 35 | end) | 38 | end) |
| 36 | 39 | ||
| 37 | it("LuaRocks show mversion of luacov", function() | 40 | it("LuaRocks show mversion of luacov", function() |
| 38 | local output = run.luarocks("show --mversion luacov") | 41 | local output = run.luarocks("show --mversion luacov") |
| 42 | assert.is.truthy(output:match("0.11.0--1")) | ||
| 39 | end) | 43 | end) |
| 40 | 44 | ||
| 41 | it("LuaRocks show rock tree of luacov", function() | 45 | it("LuaRocks show rock tree of luacov", function() |
| @@ -49,6 +53,6 @@ describe("LuaRocks show tests #blackbox #b_show", function() | |||
| 49 | 53 | ||
| 50 | it("LuaRocks show old version of luacov", function() | 54 | it("LuaRocks show old version of luacov", function() |
| 51 | run.luarocks("install luacov 0.11.0") | 55 | run.luarocks("install luacov 0.11.0") |
| 52 | run.luarocks("show luacov 0.11.0") | 56 | run.luarocks_bool("show luacov 0.11.0") |
| 53 | end) | 57 | end) |
| 54 | end) | 58 | end) |
