diff options
Diffstat (limited to 'test/functional/autocmd/cursormoved_spec.lua')
-rw-r--r-- | test/functional/autocmd/cursormoved_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/autocmd/cursormoved_spec.lua b/test/functional/autocmd/cursormoved_spec.lua index 854e14b088..3ab5c3b9b1 100644 --- a/test/functional/autocmd/cursormoved_spec.lua +++ b/test/functional/autocmd/cursormoved_spec.lua @@ -19,9 +19,9 @@ describe('CursorMoved', function() ]]) eq({}, eval('g:log')) command('new') - eq({'BufEnter2', 'CursorMoved2'}, eval('g:log')) + eq({ 'BufEnter2', 'CursorMoved2' }, eval('g:log')) command('wincmd w') - eq({'BufEnter2', 'CursorMoved2', 'BufEnter1', 'CursorMoved1'}, eval('g:log')) + eq({ 'BufEnter2', 'CursorMoved2', 'BufEnter1', 'CursorMoved1' }, eval('g:log')) end) it('is not triggered by temporarily switching window', function() @@ -41,13 +41,13 @@ describe('CursorMoved', function() vsplit foo autocmd CursorMoved * let g:cursormoved += 1 ]]) - meths.buf_set_lines(eval('g:buf'), 0, -1, true, {'aaa'}) + meths.buf_set_lines(eval('g:buf'), 0, -1, true, { 'aaa' }) eq(0, eval('g:cursormoved')) - eq({'aaa'}, meths.buf_get_lines(eval('g:buf'), 0, -1, true)) + eq({ 'aaa' }, meths.buf_get_lines(eval('g:buf'), 0, -1, true)) eq(0, eval('g:cursormoved')) end) - it("is not triggered by cursor movement prior to first CursorMoved instantiation", function() + it('is not triggered by cursor movement prior to first CursorMoved instantiation', function() source([[ let g:cursormoved = 0 autocmd! CursorMoved |