mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
oldtests: check +iconv for makeencoding
MSVC builds don't include it. Test utf8 and latin only if +iconv is missing.
This commit is contained in:
parent
4bbe51b79e
commit
49e86cebf0
@ -13,12 +13,19 @@ endif
|
||||
|
||||
let s:script = 'test_makeencoding.py'
|
||||
|
||||
let s:message_tbl = {
|
||||
if has('iconv')
|
||||
let s:message_tbl = {
|
||||
\ 'utf-8': 'ÀÈÌÒÙ こんにちは 你好',
|
||||
\ 'latin1': 'ÀÈÌÒÙ',
|
||||
\ 'cp932': 'こんにちは',
|
||||
\ 'cp936': '你好',
|
||||
\}
|
||||
else
|
||||
let s:message_tbl = {
|
||||
\ 'utf-8': 'ÀÈÌÒÙ こんにちは 你好',
|
||||
\ 'latin1': 'ÀÈÌÒÙ',
|
||||
\}
|
||||
endif
|
||||
|
||||
|
||||
" Tests for :cgetfile and :lgetfile.
|
||||
|
Loading…
Reference in New Issue
Block a user