aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-25 00:17:17 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2022-03-14 13:10:57 +0000
commit7e19c18a544b5f1f15cec0444385ddae80687a26 (patch)
tree712dbd3d26e996bfcbd358e1bead95073a2bcf40 /src/nvim/testdir
parent70582bd9259e4f503757ea7b4bf8b4b994218ac7 (diff)
downloadrneovim-7e19c18a544b5f1f15cec0444385ddae80687a26.tar.gz
rneovim-7e19c18a544b5f1f15cec0444385ddae80687a26.tar.bz2
rneovim-7e19c18a544b5f1f15cec0444385ddae80687a26.zip
vim-patch:8.2.4454: resetting cmdwin_type only for one situation
Problem: Resetting cmdwin_type only for one situation. Solution: Reset cmdwin_type before closing windows. (closes vim/vim#9822) https://github.com/vim/vim/commit/6a8b13614e5bcb233d20403ae9f008ccba152be3 Move the check to win_free_all to match Vim.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_exit.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_exit.vim b/src/nvim/testdir/test_exit.vim
index 4e5da49adb..befcaec2b2 100644
--- a/src/nvim/testdir/test_exit.vim
+++ b/src/nvim/testdir/test_exit.vim
@@ -123,6 +123,7 @@ func Test_exit_error_reading_input()
" Nvim requires "-s -" to read stdin as Normal mode input
" if RunVim([], [], '<Xscript')
if RunVim([], [], '-s - <Xscript')
+ call assert_equal(1, v:shell_error)
call assert_equal(['l = 1'], readfile('Xtestout'))
endif
call delete('Xscript')