diff options
| author | Josh Rahm <rahm@google.com> | 2022-08-22 15:53:46 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2022-08-22 15:53:46 -0600 |
| commit | 52ce04a002a882da19bb2c78d1fd8eb4825d669d (patch) | |
| tree | a39812ccb42dac36b6a251de9f9810e395bba3d9 /src/nvim/testdir/test_options.vim | |
| parent | 179d3ed87b17988f5fe00d8b99f2611a28212be7 (diff) | |
| parent | baaaa1f2b3b6ae3a989d1362a27e55dc7b0b148a (diff) | |
| download | rneovim-52ce04a002a882da19bb2c78d1fd8eb4825d669d.tar.gz rneovim-52ce04a002a882da19bb2c78d1fd8eb4825d669d.tar.bz2 rneovim-52ce04a002a882da19bb2c78d1fd8eb4825d669d.zip | |
Merge remote-tracking branch 'upstream/master' into floattitle
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
| -rw-r--r-- | src/nvim/testdir/test_options.vim | 8 |
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 |