aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-21 10:24:40 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-03-22 18:42:17 +0100
commit4a2e6f460d02762d211c0f92af305ef5290a667b (patch)
tree4696d4604f6090e5607f332df95e1052dd0a9022 /src/nvim/testdir
parent4c18670e91e22ab4fe566aa181aa6f28166e8aad (diff)
downloadrneovim-4a2e6f460d02762d211c0f92af305ef5290a667b.tar.gz
rneovim-4a2e6f460d02762d211c0f92af305ef5290a667b.tar.bz2
rneovim-4a2e6f460d02762d211c0f92af305ef5290a667b.zip
vim-patch:7.4.2341
Problem: Tiny things. Test doesn't clean up properly. Solution: Adjust comment and white space. Restore option value.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_autocmd.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index 34cca5f612..b5d78c183f 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -33,6 +33,7 @@ if has('timers')
call feedkeys('a', 'x!')
call assert_equal(1, g:triggered)
au! CursorHoldI
+ set updatetime&
endfunc
func Test_cursorhold_insert_ctrl_x()
@@ -44,6 +45,7 @@ if has('timers')
call feedkeys("a\<C-X>", 'x!')
call assert_equal(0, g:triggered)
au! CursorHoldI
+ set updatetime&
endfunc
endif
@@ -223,6 +225,7 @@ func Test_augroup_warning()
augroup Another
augroup END
call assert_true(match(execute('au VimEnter'), "-Deleted-.*VimEnter") >= 0)
+ augroup! Another
" no warning for postpone aucmd delete
augroup StartOK