1
0
Fork 0
mirror of synced 2024-11-15 05:28:57 -05:00
ultimate-vim/sources_non_forked/ale/test/test_env_function.vader

9 lines
333 B
Text
Raw Normal View History

2022-05-19 09:16:38 -04:00
Execute(ale#Env should produce the correct syntax):
if has('win32')
AssertEqual 'set name=xxx && ', ale#Env('name', 'xxx')
AssertEqual 'set name="foo bar" && ', ale#Env('name', 'foo bar')
else
AssertEqual 'name=''xxx'' ', ale#Env('name', 'xxx')
AssertEqual 'name=''foo bar'' ', ale#Env('name', 'foo bar')
endif