summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_autocmd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-28 19:19:03 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-28 19:19:03 +0000
commit94722c510745a0cfd494c51625a514b92dd2bfb2 (patch)
treeed0153caea48396d88e9cd8f6d42bbaaa8076762 /src/testdir/test_autocmd.vim
parent04e4f1d98556e67d7337224b67b71c828410ee0f (diff)
patch 9.0.1257: code style is not check in test scriptsv9.0.1257
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
Diffstat (limited to 'src/testdir/test_autocmd.vim')
-rw-r--r--src/testdir/test_autocmd.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 12fbcb7ad7..8931678d74 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -269,8 +269,8 @@ func Test_win_tab_autocmd()
augroup testing
au WinNew * call add(g:record, 'WinNew')
au WinClosed * call add(g:record, 'WinClosed')
- au WinEnter * call add(g:record, 'WinEnter')
- au WinLeave * call add(g:record, 'WinLeave')
+ au WinEnter * call add(g:record, 'WinEnter')
+ au WinLeave * call add(g:record, 'WinLeave')
au TabNew * call add(g:record, 'TabNew')
au TabClosed * call add(g:record, 'TabClosed')
au TabEnter * call add(g:record, 'TabEnter')
@@ -3406,7 +3406,7 @@ endfunc
func Test_Visual_doautoall_redraw()
call setline(1, ['a', 'b'])
- new
+ new
wincmd p
call feedkeys("G\<C-V>", 'txn')
autocmd User Explode ++once redraw
@@ -4121,7 +4121,7 @@ endfunc
func Test_autocmd_split_dummy()
" Autocommand trying to split a window containing a dummy buffer.
- auto BufReadPre * exe "sbuf " .. expand("<abuf>")
+ auto BufReadPre * exe "sbuf " .. expand("<abuf>")
" Avoid the "W11" prompt
au FileChangedShell * let v:fcs_choice = 'reload'
func Xautocmd_changelist()