forked from aniani/vim
patch 8.1.1858: test for multi-byte mapping fails on some systems
Problem: Test for multi-byte mapping fails on some systems. Solution: Test in another way.
This commit is contained in:
@@ -241,7 +241,7 @@ endfunc
|
||||
|
||||
func Test_map_meta_multibyte()
|
||||
imap <M-á> foo
|
||||
call assert_equal('foo', maparg("\<M-á>", 'i'))
|
||||
call assert_match('i <M-á>\s*foo', execute('imap'))
|
||||
iunmap <M-á>
|
||||
endfunc
|
||||
|
||||
|
||||
@@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1858,
|
||||
/**/
|
||||
1857,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user