aboutsummaryrefslogtreecommitdiff
path: root/spec/new_version_spec.lua
diff options
context:
space:
mode:
authorroboo <robo.karasek@gmail.com>2016-07-11 21:29:37 +0200
committerroboo <robo.karasek@gmail.com>2016-07-11 21:29:37 +0200
commit47a9e7571f5aefd48d5e8d168bd56f07e296b18e (patch)
tree0f6ca59478f5a69c92b3f6419fd386a245e9bae1 /spec/new_version_spec.lua
parentb8334ea38536b7db031dac925d426fb5e4783407 (diff)
downloadluarocks-47a9e7571f5aefd48d5e8d168bd56f07e296b18e.tar.gz
luarocks-47a9e7571f5aefd48d5e8d168bd56f07e296b18e.tar.bz2
luarocks-47a9e7571f5aefd48d5e8d168bd56f07e296b18e.zip
Update new_version, pack tests
Diffstat (limited to 'spec/new_version_spec.lua')
-rw-r--r--spec/new_version_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/new_version_spec.lua b/spec/new_version_spec.lua
index 4e4d5d27..d77d32d1 100644
--- a/spec/new_version_spec.lua
+++ b/spec/new_version_spec.lua
@@ -30,6 +30,7 @@ describe("LuaRocks new_version tests #blackbox #b_new_version", function()
30 it("LuaRocks new version invalid url", function() 30 it("LuaRocks new version invalid url", function()
31 assert.is_true(run.luarocks_bool("download --rockspec abelhas 1.0")) 31 assert.is_true(run.luarocks_bool("download --rockspec abelhas 1.0"))
32 assert.is_true(run.luarocks_bool("new_version abelhas-1.0-1.rockspec 1.1 http://luainvalid")) 32 assert.is_true(run.luarocks_bool("new_version abelhas-1.0-1.rockspec 1.1 http://luainvalid"))
33 assert.is.truthy(lfs.attributes("abelhas-1.1-1.rockspec"))
33 test_env.remove_files(lfs.currentdir(), "abelhas--") 34 test_env.remove_files(lfs.currentdir(), "abelhas--")
34 end) 35 end)
35 end) 36 end)