diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2022-03-18 12:12:39 +0100 |
|---|---|---|
| committer | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 17:13:15 +0300 |
| commit | 601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1 (patch) | |
| tree | e3b9c152b9ff8a431d1431edb0a42d051d256f13 /test/testsupport.lua | |
| parent | 480c05257211b3e566f33fdf8cf051233e2dab30 (diff) | |
| download | luasocket-601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1.tar.gz luasocket-601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1.tar.bz2 luasocket-601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1.zip | |
refactor: Address issues raised by linter
Diffstat (limited to 'test/testsupport.lua')
| -rw-r--r-- | test/testsupport.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsupport.lua b/test/testsupport.lua index b986088..4360b6b 100644 --- a/test/testsupport.lua +++ b/test/testsupport.lua | |||
| @@ -7,7 +7,7 @@ function readfile(name) | |||
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | function similar(s1, s2) | 9 | function similar(s1, s2) |
| 10 | return string.lower(string.gsub(s1 or "", "%s", "")) == | 10 | return string.lower(string.gsub(s1 or "", "%s", "")) == |
| 11 | string.lower(string.gsub(s2 or "", "%s", "")) | 11 | string.lower(string.gsub(s2 or "", "%s", "")) |
| 12 | end | 12 | end |
| 13 | 13 | ||
