diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2021-03-16 13:36:26 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2021-03-16 16:32:45 -0300 |
| commit | 8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f (patch) | |
| tree | f05d1a49995341a56e602ce2a3256b89372e9d04 /spec/remove_spec.lua | |
| parent | 2b56388e76952be52d849415b1ebae74b6dc4607 (diff) | |
| download | luarocks-8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f.tar.gz luarocks-8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f.tar.bz2 luarocks-8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f.zip | |
editorconfig: trim trailing whitespace
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 cdac5c01..91b6a460 100644 --- a/spec/remove_spec.lua +++ b/spec/remove_spec.lua | |||
| @@ -26,11 +26,11 @@ describe("luarocks remove #integration", function() | |||
| 26 | it("invalid rock", function() | 26 | it("invalid rock", function() |
| 27 | assert.is_false(run.luarocks_bool("remove invalid.rock")) | 27 | assert.is_false(run.luarocks_bool("remove invalid.rock")) |
| 28 | end) | 28 | end) |
| 29 | 29 | ||
| 30 | it("missing rock", function() | 30 | it("missing rock", function() |
| 31 | assert.is_false(run.luarocks_bool("remove missing_rock")) | 31 | assert.is_false(run.luarocks_bool("remove missing_rock")) |
| 32 | end) | 32 | end) |
| 33 | 33 | ||
| 34 | it("invalid argument", function() | 34 | it("invalid argument", function() |
| 35 | assert.is_false(run.luarocks_bool("remove luacov --deps-mode")) | 35 | assert.is_false(run.luarocks_bool("remove luacov --deps-mode")) |
| 36 | end) | 36 | end) |
| @@ -62,7 +62,7 @@ describe("luarocks remove #integration", function() | |||
| 62 | assert.is_false(run.luarocks_bool("remove coxpcall")) | 62 | assert.is_false(run.luarocks_bool("remove coxpcall")) |
| 63 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) | 63 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) |
| 64 | end) | 64 | end) |
| 65 | 65 | ||
| 66 | it("force", function() | 66 | it("force", function() |
| 67 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) | 67 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) |
| 68 | assert.is_true(run.luarocks_bool("build copas")) | 68 | assert.is_true(run.luarocks_bool("build copas")) |
| @@ -71,7 +71,7 @@ describe("luarocks remove #integration", function() | |||
| 71 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) | 71 | assert.is.falsy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) |
| 72 | assert.is.truthy(output:find("Checking stability of dependencies")) | 72 | assert.is.truthy(output:find("Checking stability of dependencies")) |
| 73 | end) | 73 | end) |
| 74 | 74 | ||
| 75 | it("force fast", function() | 75 | it("force fast", function() |
| 76 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) | 76 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/coxpcall")) |
| 77 | assert.is_true(run.luarocks_bool("build copas")) | 77 | assert.is_true(run.luarocks_bool("build copas")) |
| @@ -85,7 +85,7 @@ describe("luarocks remove #integration", function() | |||
| 85 | it("#admin remove #ssh", function() | 85 | it("#admin remove #ssh", function() |
| 86 | assert.is_true(run.luarocks_admin_bool("--server=testing remove coxpcall-1.16.0-1.src.rock")) | 86 | assert.is_true(run.luarocks_admin_bool("--server=testing remove coxpcall-1.16.0-1.src.rock")) |
| 87 | end) | 87 | end) |
| 88 | 88 | ||
| 89 | it("#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) |
