aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-19 21:02:38 +0800
committerGitHub <noreply@github.com>2022-08-19 21:02:38 +0800
commit7ff283b1b754e01280d82ff63aa37601ab4e1006 (patch)
treeff0082edd8ca18ec375ebe26a0b855982dd39cb2 /src/nvim/testdir
parent2af9be3db59b2e26268dc62cb65e673e2f7d4783 (diff)
parent4edf967050b0eadba4e0e2d8c0d069f8c8e4bc65 (diff)
downloadrneovim-7ff283b1b754e01280d82ff63aa37601ab4e1006.tar.gz
rneovim-7ff283b1b754e01280d82ff63aa37601ab4e1006.tar.bz2
rneovim-7ff283b1b754e01280d82ff63aa37601ab4e1006.zip
Merge pull request #19843 from zeertzjq/vim-9.0.0227
vim-patch:8.2.3946,9.0.0227: internal error improvements
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/runtest.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim
index 6b16e888a9..fcd3d5724c 100644
--- a/src/nvim/testdir/runtest.vim
+++ b/src/nvim/testdir/runtest.vim
@@ -257,6 +257,7 @@ endfunc
func EarlyExit(test)
" It's OK for the test we use to test the quit detection.
if a:test != 'Test_zz_quit_detected()'
+ call add(v:errors, v:errmsg)
call add(v:errors, 'Test caused Vim to exit: ' . a:test)
endif