summaryrefslogtreecommitdiff
path: root/spec/show_spec.lua
diff options
context:
space:
mode:
authorroboo <robo.karasek@gmail.com>2016-08-21 21:50:38 +0200
committerroboo <robo.karasek@gmail.com>2016-08-21 21:50:38 +0200
commit2f3c8648289bb4e22eee5f8ff8d27afca6592fa4 (patch)
tree5d4f17b5d949e67edde281e6dbe7142a24b57260 /spec/show_spec.lua
parent5cdc22fb3c3a85160cd7c2d49ba10ab113e4a784 (diff)
downloadluarocks-2f3c8648289bb4e22eee5f8ff8d27afca6592fa4.tar.gz
luarocks-2f3c8648289bb4e22eee5f8ff8d27afca6592fa4.tar.bz2
luarocks-2f3c8648289bb4e22eee5f8ff8d27afca6592fa4.zip
Windows and appveyor support for tests
Diffstat (limited to 'spec/show_spec.lua')
-rw-r--r--spec/show_spec.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/show_spec.lua b/spec/show_spec.lua
index f528a6de..915129ae 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)
54end) 58end)