refactor: format test/*

This commit is contained in:
Justin M. Keyes
2024-01-03 02:09:18 +01:00
parent 59d117ec99
commit 04f2f864e2
363 changed files with 30631 additions and 20833 deletions

View File

@@ -13,8 +13,10 @@ describe('hostname()', function()
ok(string.len(actual) > 0)
if call('executable', 'hostname') == 1 then
local expected = string.gsub(call('system', 'hostname'), '[\n\r]', '')
eq((is_os('win') and expected:upper() or expected),
(is_os('win') and actual:upper() or actual))
eq(
(is_os('win') and expected:upper() or expected),
(is_os('win') and actual:upper() or actual)
)
end
end)
end)