aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_autocmd.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-17 10:19:31 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-07-18 06:18:03 +0800
commit457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52 (patch)
tree7bfcb7a0cc38e6a2473f8c21ce58d4dd6b828276 /test/old/testdir/test_autocmd.vim
parentf17d81933067c5356f1c8419218d61aaaec9046c (diff)
downloadrneovim-457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52.tar.gz
rneovim-457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52.tar.bz2
rneovim-457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52.zip
vim-patch:9.0.1257: code style is not check in test scripts
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files. https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2 Use Test_test_files() from latest Vim. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_autocmd.vim')
-rw-r--r--test/old/testdir/test_autocmd.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim
index 862c48a1eb..68aa2834d8 100644
--- a/test/old/testdir/test_autocmd.vim
+++ b/test/old/testdir/test_autocmd.vim
@@ -273,8 +273,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')
@@ -3770,7 +3770,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()