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

@@ -8,7 +8,7 @@ local expect = helpers.expect
describe('getline()', function()
before_each(function()
clear()
call('setline', 1, {'a', 'b', 'c'})
call('setline', 1, { 'a', 'b', 'c' })
expect([[
a
b
@@ -33,7 +33,7 @@ describe('getline()', function()
end)
it('returns value of valid range', function()
eq({'a', 'b'}, call('getline', 1, 2))
eq({'a', 'b', 'c'}, call('getline', 1, 4))
eq({ 'a', 'b' }, call('getline', 1, 2))
eq({ 'a', 'b', 'c' }, call('getline', 1, 4))
end)
end)