aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-05-07 11:19:54 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-05-07 19:29:10 -0300
commit27ecdd5df9e258a3da879cdcb3432e7ff5123222 (patch)
tree9aaf94fddebb7dcff3a03f5f9ce2d4a3b2205900 /spec
parenteeee65fafbfc6544ea211ec05a2f689b004e90a1 (diff)
downloadluarocks-27ecdd5df9e258a3da879cdcb3432e7ff5123222.tar.gz
luarocks-27ecdd5df9e258a3da879cdcb3432e7ff5123222.tar.bz2
luarocks-27ecdd5df9e258a3da879cdcb3432e7ff5123222.zip
luarocks-admin: only create index.html if it already exists or --index is given
Diffstat (limited to 'spec')
-rw-r--r--spec/remove_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/remove_spec.lua b/spec/remove_spec.lua
index 9bf038b0..10ab012d 100644
--- a/spec/remove_spec.lua
+++ b/spec/remove_spec.lua
@@ -82,11 +82,11 @@ describe("LuaRocks remove tests #blackbox #b_remove", function()
82 end) 82 end)
83 end) 83 end)
84 84
85 it("LuaRocks-admin remove #ssh", function() 85 it("#admin remove #ssh", function()
86 assert.is_true(run.luarocks_admin_bool("--server=testing remove luasocket-3.0rc1-2.src.rock")) 86 assert.is_true(run.luarocks_admin_bool("--server=testing remove luasocket-3.0rc1-2.src.rock"))
87 end) 87 end)
88 88
89 it("LuaRocks-admin remove missing", function() 89 it("#admin remove missing", function()
90 assert.is_false(run.luarocks_admin_bool("--server=testing remove")) 90 assert.is_false(run.luarocks_admin_bool("--server=testing remove"))
91 end) 91 end)
92end) 92end)