aboutsummaryrefslogtreecommitdiff
path: root/spec/doc_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2021-03-16 13:36:26 -0300
committerHisham Muhammad <hisham@gobolinux.org>2021-03-16 16:32:45 -0300
commit8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f (patch)
treef05d1a49995341a56e602ce2a3256b89372e9d04 /spec/doc_spec.lua
parent2b56388e76952be52d849415b1ebae74b6dc4607 (diff)
downloadluarocks-8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f.tar.gz
luarocks-8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f.tar.bz2
luarocks-8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f.zip
editorconfig: trim trailing whitespace
Diffstat (limited to 'spec/doc_spec.lua')
-rw-r--r--spec/doc_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/doc_spec.lua b/spec/doc_spec.lua
index 19cfb26a..a10bb501 100644
--- a/spec/doc_spec.lua
+++ b/spec/doc_spec.lua
@@ -6,7 +6,7 @@ test_env.unload_luarocks()
6 6
7describe("luarocks doc #integration", function() 7describe("luarocks doc #integration", function()
8 before_each(function() 8 before_each(function()
9 test_env.setup_specs(extra_rocks) 9 test_env.setup_specs()
10 end) 10 end)
11 11
12 describe("basic tests", function() 12 describe("basic tests", function()
@@ -74,7 +74,7 @@ describe("luarocks doc #integration", function()
74 assert.match("a_rock 2.0", run.luarocks("doc a_user/a_rock")) 74 assert.match("a_rock 2.0", run.luarocks("doc a_user/a_rock"))
75 end) 75 end)
76 end) 76 end)
77 77
78 describe("tests with flags", function() 78 describe("tests with flags", function()
79 it("of installed package", function() 79 it("of installed package", function()
80 test_env.run_in_tmp(function(tmpdir) 80 test_env.run_in_tmp(function(tmpdir)
@@ -127,12 +127,12 @@ describe("luarocks doc #integration", function()
127 assert.is.truthy(output:find("doc2%.md")) 127 assert.is.truthy(output:find("doc2%.md"))
128 end, finally) 128 end, finally)
129 end) 129 end)
130 130
131 it("with --local", function() 131 it("with --local", function()
132 assert.is_true(run.luarocks_bool("install --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock")) 132 assert.is_true(run.luarocks_bool("install --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock"))
133 assert.is_true(run.luarocks_bool("doc --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock --local")) 133 assert.is_true(run.luarocks_bool("doc --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock --local"))
134 end) 134 end)
135 135
136 it("with --porcelain", function() 136 it("with --porcelain", function()
137 test_env.run_in_tmp(function(tmpdir) 137 test_env.run_in_tmp(function(tmpdir)
138 test_env.write_file("test-1.0-1.rockspec", [[ 138 test_env.write_file("test-1.0-1.rockspec", [[