aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_options.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-22 10:15:00 +0800
committerGitHub <noreply@github.com>2022-08-22 10:15:00 +0800
commitd5cc161deac2371a39821c94fd2de4f1c41b6eb9 (patch)
tree09ff7a93a931964050054df75c3d70a12ca6f79c /src/nvim/testdir/test_options.vim
parent72b03792b6428ca96ca779b53061c6c98f6f930f (diff)
parentb94cfaf08056a43efa83a1911d9d44ce1ae73711 (diff)
downloadrneovim-d5cc161deac2371a39821c94fd2de4f1c41b6eb9.tar.gz
rneovim-d5cc161deac2371a39821c94fd2de4f1c41b6eb9.tar.bz2
rneovim-d5cc161deac2371a39821c94fd2de4f1c41b6eb9.zip
Merge pull request #19886 from zeertzjq/vim-8.2.2030
vim-patch:8.2.{2030,2031}: some tests fail
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r--src/nvim/testdir/test_options.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index fdfc1c0f89..e9a62d00a9 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -774,7 +774,13 @@ func Test_shell()
CheckUnix
let save_shell = &shell
set shell=
- call assert_fails('shell', 'E91:')
+ let caught_e91 = 0
+ try
+ shell
+ catch /E91:/
+ let caught_e91 = 1
+ endtry
+ call assert_equal(1, caught_e91)
let &shell = save_shell
endfunc