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/new_version_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/new_version_spec.lua')
-rw-r--r-- | spec/new_version_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/new_version_spec.lua b/spec/new_version_spec.lua index 2f628242..830e4d11 100644 --- a/spec/new_version_spec.lua +++ b/spec/new_version_spec.lua | |||
@@ -15,7 +15,7 @@ describe("luarocks new_version #integration", function() | |||
15 | setup(function() | 15 | setup(function() |
16 | test_env.setup_specs(extra_rocks) | 16 | test_env.setup_specs(extra_rocks) |
17 | end) | 17 | end) |
18 | 18 | ||
19 | describe("basic tests", function() | 19 | describe("basic tests", function() |
20 | it("with no flags/arguments", function() | 20 | it("with no flags/arguments", function() |
21 | finally(function() | 21 | finally(function() |
@@ -26,7 +26,7 @@ describe("luarocks new_version #integration", function() | |||
26 | assert(lfs.chdir("empty")) | 26 | assert(lfs.chdir("empty")) |
27 | assert.is_false(run.luarocks_bool("new_version")) | 27 | assert.is_false(run.luarocks_bool("new_version")) |
28 | end) | 28 | end) |
29 | 29 | ||
30 | it("with invalid", function() | 30 | it("with invalid", function() |
31 | assert.is_false(run.luarocks_bool("new_version invalid")) | 31 | assert.is_false(run.luarocks_bool("new_version invalid")) |
32 | end) | 32 | end) |
@@ -53,7 +53,7 @@ describe("luarocks new_version #integration", function() | |||
53 | assert.is.truthy(lfs.attributes("abelhas-1.2-1.rockspec")) | 53 | assert.is.truthy(lfs.attributes("abelhas-1.2-1.rockspec")) |
54 | test_env.remove_files(lfs.currentdir(), "abelhas%-") | 54 | test_env.remove_files(lfs.currentdir(), "abelhas%-") |
55 | end) | 55 | end) |
56 | 56 | ||
57 | it("of luacov with tag", function() | 57 | it("of luacov with tag", function() |
58 | assert.is_true(run.luarocks_bool("download --rockspec luacov 0.13.0")) | 58 | assert.is_true(run.luarocks_bool("download --rockspec luacov 0.13.0")) |
59 | assert.is_true(run.luarocks_bool("new_version luacov-0.13.0-1.rockspec --tag v0.3")) | 59 | assert.is_true(run.luarocks_bool("new_version luacov-0.13.0-1.rockspec --tag v0.3")) |