mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor: format test/*
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user