mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.1091: MS-Windows: cannot use multi-byte chars in environment var
Problem: MS-Windows: cannot use multi-byte chars in environment var.
Solution: Use the wide API. (Ken Takata, closes vim/vim#4008)
f0908e6fe1
This commit is contained in:
parent
697b0d73a7
commit
c3cb54b5ff
@ -141,6 +141,11 @@ func Test_let_varg_fail()
|
||||
call s:set_varg8([0])
|
||||
endfunction
|
||||
|
||||
func Test_let_utf8_environment()
|
||||
let $a = 'ĀĒĪŌŪあいうえお'
|
||||
call assert_equal('ĀĒĪŌŪあいうえお', $a)
|
||||
endfunc
|
||||
|
||||
func Test_let_heredoc_fails()
|
||||
call assert_fails('let v =<< marker', 'E991:')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user