mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
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.
2f710afe7f
This commit is contained in:
@@ -231,7 +231,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
|
||||
|
||||
|
Reference in New Issue
Block a user