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

@@ -10,8 +10,10 @@ before_each(clear)
describe('uniq()', function()
it('errors out when processing special values', function()
eq('Vim(call):E362: Using a boolean value as a Float',
exc_exec('call uniq([v:true, v:false], "f")'))
eq(
'Vim(call):E362: Using a boolean value as a Float',
exc_exec('call uniq([v:true, v:false], "f")')
)
end)
it('can yield E882 and stop filtering after that', function()
@@ -23,7 +25,9 @@ describe('uniq()', function()
return (a:a > a:b) - (a:a < a:b)
endfunction
]])
eq('Vim(let):E745: Using a List as a Number',
pcall_err(command, 'let fl = uniq([0, 0, [], 1, 1], "Cmp")'))
eq(
'Vim(let):E745: Using a List as a Number',
pcall_err(command, 'let fl = uniq([0, 0, [], 1, 1], "Cmp")')
)
end)
end)