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/sysdetect_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/sysdetect_spec.lua')
| -rw-r--r-- | spec/sysdetect_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/sysdetect_spec.lua b/spec/sysdetect_spec.lua index 1e73d5d6..7f9cf1be 100644 --- a/spec/sysdetect_spec.lua +++ b/spec/sysdetect_spec.lua | |||
| @@ -8,7 +8,7 @@ describe("luarocks.core.sysdetect #unix #unit", function() | |||
| 8 | os.execute("[ -e binary-samples ] || git clone --depth=1 https://github.com/hishamhm/binary-samples") | 8 | os.execute("[ -e binary-samples ] || git clone --depth=1 https://github.com/hishamhm/binary-samples") |
| 9 | os.execute("cd binary-samples && git pull") | 9 | os.execute("cd binary-samples && git pull") |
| 10 | end) | 10 | end) |
| 11 | 11 | ||
| 12 | local files = { | 12 | local files = { |
| 13 | ["."] = "ignore", | 13 | ["."] = "ignore", |
| 14 | [".."] = "ignore", | 14 | [".."] = "ignore", |
| @@ -56,7 +56,7 @@ describe("luarocks.core.sysdetect #unix #unit", function() | |||
| 56 | ["elf-Haiku-GCC7-WebPositive"] = {"haiku", "x86"}, | 56 | ["elf-Haiku-GCC7-WebPositive"] = {"haiku", "x86"}, |
| 57 | ["pe-cygwin-ls.exe"] = {"cygwin", "x86"}, | 57 | ["pe-cygwin-ls.exe"] = {"cygwin", "x86"}, |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | describe("detect_file", function() | 60 | describe("detect_file", function() |
| 61 | it("detects system and processor", function() | 61 | it("detects system and processor", function() |
| 62 | for f in lfs.dir("binary-samples") do | 62 | for f in lfs.dir("binary-samples") do |
