diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-30 15:23:19 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-30 19:52:17 -0300 |
commit | 97bee65c4a8575f3756d85d6db9748a390ee864b (patch) | |
tree | f95fc38fceb09de498e7720c8782a99c5cde3a87 /spec/remove_spec.lua | |
parent | 2dc0a68c941d883753b2d6715921a8952f95204b (diff) | |
download | luarocks-97bee65c4a8575f3756d85d6db9748a390ee864b.tar.gz luarocks-97bee65c4a8575f3756d85d6db9748a390ee864b.tar.bz2 luarocks-97bee65c4a8575f3756d85d6db9748a390ee864b.zip |
Tests: bump version of abelhas in tests
TODO: this should be changed to depend on local files only.
Diffstat (limited to 'spec/remove_spec.lua')
-rw-r--r-- | spec/remove_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/remove_spec.lua b/spec/remove_spec.lua index c0e9beb0..9bf038b0 100644 --- a/spec/remove_spec.lua +++ b/spec/remove_spec.lua | |||
@@ -6,7 +6,7 @@ local testing_paths = test_env.testing_paths | |||
6 | test_env.unload_luarocks() | 6 | test_env.unload_luarocks() |
7 | 7 | ||
8 | local extra_rocks = { | 8 | local extra_rocks = { |
9 | "/abelhas-1.0-1.rockspec", | 9 | "/abelhas-1.1-1.rockspec", |
10 | "/lualogging-1.3.0-1.src.rock", | 10 | "/lualogging-1.3.0-1.src.rock", |
11 | "/luasocket-3.0rc1-2.src.rock", | 11 | "/luasocket-3.0rc1-2.src.rock", |
12 | "/luasocket-3.0rc1-2.rockspec" | 12 | "/luasocket-3.0rc1-2.rockspec" |
@@ -36,16 +36,16 @@ describe("LuaRocks remove tests #blackbox #b_remove", function() | |||
36 | end) | 36 | end) |
37 | 37 | ||
38 | it("LuaRocks remove built abelhas", function() | 38 | it("LuaRocks remove built abelhas", function() |
39 | assert.is_true(run.luarocks_bool("build abelhas 1.0")) | 39 | assert.is_true(run.luarocks_bool("build abelhas 1.1")) |
40 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) | 40 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) |
41 | assert.is_true(run.luarocks_bool("remove abelhas 1.0")) | 41 | assert.is_true(run.luarocks_bool("remove abelhas 1.1")) |
42 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) | 42 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) |
43 | end) | 43 | end) |
44 | 44 | ||
45 | it("LuaRocks remove built abelhas with uppercase name", function() | 45 | it("LuaRocks remove built abelhas with uppercase name", function() |
46 | assert.is_true(run.luarocks_bool("build abelhas 1.0")) | 46 | assert.is_true(run.luarocks_bool("build abelhas 1.1")) |
47 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) | 47 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) |
48 | assert.is_true(run.luarocks_bool("remove Abelhas 1.0")) | 48 | assert.is_true(run.luarocks_bool("remove Abelhas 1.1")) |
49 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) | 49 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/abelhas")) |
50 | end) | 50 | end) |
51 | end) | 51 | end) |