diff options
| author | Sean Dewar <seandewar@users.noreply.github.com> | 2022-02-19 22:59:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-19 22:59:15 +0000 |
| commit | 8b3799e2c33282bf417ddee15ae71b5aba613c16 (patch) | |
| tree | 14a5119b2c0c73c69a424b50461fa98e918299f9 /src/nvim/testdir/test_autochdir.vim | |
| parent | 439a843b80339d80e788e8382ae91414c3db6dd5 (diff) | |
| parent | 9c04285057b70f90ca19cb08a49f96369085d882 (diff) | |
| download | rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.tar.gz rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.tar.bz2 rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.zip | |
Merge pull request #17460 from seandewar/vim-8.2.4419
vim-patch:8.2.{4403,4418,4419,4422}
Diffstat (limited to 'src/nvim/testdir/test_autochdir.vim')
| -rw-r--r-- | src/nvim/testdir/test_autochdir.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_autochdir.vim b/src/nvim/testdir/test_autochdir.vim index 9ad727241e..53ed4617f7 100644 --- a/src/nvim/testdir/test_autochdir.vim +++ b/src/nvim/testdir/test_autochdir.vim @@ -64,4 +64,14 @@ func Test_verbose_pwd() call delete('Xautodir', 'rf') endfunc +func Test_multibyte() + " using an invalid character should not cause a crash + set wic + " Except on Windows, E472 is also thrown last, but v8.1.1183 isn't ported yet + " call assert_fails('tc *', has('win32') ? 'E480:' : 'E344:') + call assert_fails('tc *', has('win32') ? 'E480:' : 'E472:') + set nowic +endfunc + + " vim: shiftwidth=2 sts=2 expandtab |