aboutsummaryrefslogtreecommitdiff
path: root/test/functional/autocmd/textchanged_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/autocmd/textchanged_spec.lua')
-rw-r--r--test/functional/autocmd/textchanged_spec.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/functional/autocmd/textchanged_spec.lua b/test/functional/autocmd/textchanged_spec.lua
index b621eb36bf..850d67a18d 100644
--- a/test/functional/autocmd/textchanged_spec.lua
+++ b/test/functional/autocmd/textchanged_spec.lua
@@ -88,7 +88,7 @@ it('TextChangedI and TextChangedP autocommands', function()
eq('IIPPPP', eval('g:autocmd'))
feed('<esc>')
- eq({'foo', 'bar', 'foobar', 'foo'}, eval('getline(1, "$")'))
+ eq({ 'foo', 'bar', 'foobar', 'foo' }, eval('getline(1, "$")'))
end)
-- oldtest: Test_TextChangedI_with_setline()
@@ -172,11 +172,11 @@ it('TextChangedI and TextChanged', function()
eq('', eval('g:autocmd_n'))
end
- validate_mixed_textchangedi({'o', '<esc>'})
- validate_mixed_textchangedi({'O', '<esc>'})
- validate_mixed_textchangedi({'ciw', '<esc>'})
- validate_mixed_textchangedi({'cc', '<esc>'})
- validate_mixed_textchangedi({'C', '<esc>'})
- validate_mixed_textchangedi({'s', '<esc>'})
- validate_mixed_textchangedi({'S', '<esc>'})
+ validate_mixed_textchangedi({ 'o', '<esc>' })
+ validate_mixed_textchangedi({ 'O', '<esc>' })
+ validate_mixed_textchangedi({ 'ciw', '<esc>' })
+ validate_mixed_textchangedi({ 'cc', '<esc>' })
+ validate_mixed_textchangedi({ 'C', '<esc>' })
+ validate_mixed_textchangedi({ 's', '<esc>' })
+ validate_mixed_textchangedi({ 'S', '<esc>' })
end)