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/dir_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/dir_spec.lua')
| -rw-r--r-- | spec/dir_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/dir_spec.lua b/spec/dir_spec.lua index c5162b60..1b568c8f 100644 --- a/spec/dir_spec.lua +++ b/spec/dir_spec.lua | |||
| @@ -7,17 +7,17 @@ local dir = require("luarocks.dir") | |||
| 7 | 7 | ||
| 8 | describe("luarocks.dir #unit", function() | 8 | describe("luarocks.dir #unit", function() |
| 9 | local runner | 9 | local runner |
| 10 | 10 | ||
| 11 | setup(function() | 11 | setup(function() |
| 12 | runner = require("luacov.runner") | 12 | runner = require("luacov.runner") |
| 13 | runner.init(testing_paths.testrun_dir .. "/luacov.config") | 13 | runner.init(testing_paths.testrun_dir .. "/luacov.config") |
| 14 | runner.tick = true | 14 | runner.tick = true |
| 15 | end) | 15 | end) |
| 16 | 16 | ||
| 17 | teardown(function() | 17 | teardown(function() |
| 18 | runner.shutdown() | 18 | runner.shutdown() |
| 19 | end) | 19 | end) |
| 20 | 20 | ||
| 21 | describe("dir.is_basic_protocol", function() | 21 | describe("dir.is_basic_protocol", function() |
| 22 | it("checks whether the arguments represent a valid protocol and returns the result of the check", function() | 22 | it("checks whether the arguments represent a valid protocol and returns the result of the check", function() |
| 23 | assert.truthy(dir.is_basic_protocol("http")) | 23 | assert.truthy(dir.is_basic_protocol("http")) |
