vim-patch:8.2.4422: autochdir test fails on MS-Windows

Problem:    Autochdir test fails on MS-Windows.
Solution:   Expecta nother error on MS-Windows.
adbb383e0f
This commit is contained in:
Sean Dewar 2022-02-19 15:38:11 +00:00
parent 73cc729dbc
commit 9c04285057
No known key found for this signature in database
GPG Key ID: 08CC2C83AD41B581

View File

@ -67,9 +67,9 @@ endfunc
func Test_multibyte()
" using an invalid character should not cause a crash
set wic
" E344 is thrown first, but v8.1.1183 hasn't been ported yet
" call assert_fails('tc û<><C3BB><EFBFBD>¦*', 'E344:')
call assert_fails('tc û<><C3BB><EFBFBD>¦*', 'E472:')
" Except on Windows, E472 is also thrown last, but v8.1.1183 isn't ported yet
" call assert_fails('tc û<><C3BB><EFBFBD>¦*', has('win32') ? 'E480:' : 'E344:')
call assert_fails('tc û<><C3BB><EFBFBD>¦*', has('win32') ? 'E480:' : 'E472:')
set nowic
endfunc