1
0
mirror of https://github.com/dense-analysis/ale synced 2024-12-30 10:02:14 +00:00
ale/test/test_env_function.vader

9 lines
333 B
Plaintext

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