1
0
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:
Bram Moolenaar
2019-08-16 20:56:03 +02:00
parent c8fd33d18b
commit 2f710afe7f
2 changed files with 3 additions and 1 deletions

View File

@@ -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