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/upload_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/upload_spec.lua')
-rw-r--r-- | spec/upload_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index dc073c18..e1215d2c 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
@@ -17,15 +17,15 @@ describe("luarocks upload #integration", function() | |||
17 | it("invalid rockspec", function() | 17 | it("invalid rockspec", function() |
18 | assert.is_false(run.luarocks_bool("upload invalid.rockspec")) | 18 | assert.is_false(run.luarocks_bool("upload invalid.rockspec")) |
19 | end) | 19 | end) |
20 | 20 | ||
21 | it("api key invalid", function() | 21 | it("api key invalid", function() |
22 | assert.is_false(run.luarocks_bool("upload --api-key=invalid invalid.rockspec")) | 22 | assert.is_false(run.luarocks_bool("upload --api-key=invalid invalid.rockspec")) |
23 | end) | 23 | end) |
24 | 24 | ||
25 | it("api key invalid and skip-pack", function() | 25 | it("api key invalid and skip-pack", function() |
26 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) | 26 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) |
27 | end) | 27 | end) |
28 | 28 | ||
29 | it("force #unix", function() | 29 | it("force #unix", function() |
30 | assert.is_true(test_env.need_rock("dkjson")) | 30 | assert.is_true(test_env.need_rock("dkjson")) |
31 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --force " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) | 31 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --force " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) |
@@ -33,7 +33,7 @@ describe("luarocks upload #integration", function() | |||
33 | 33 | ||
34 | describe("tests with Xavante server #mock", function() | 34 | describe("tests with Xavante server #mock", function() |
35 | before_each(test_env.mock_server_init) | 35 | before_each(test_env.mock_server_init) |
36 | 36 | ||
37 | after_each(test_env.mock_server_done) | 37 | after_each(test_env.mock_server_done) |
38 | 38 | ||
39 | it("rockspec with api-key", function() | 39 | it("rockspec with api-key", function() |