This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/test_env_function.vader

8 lines
333 B
Text

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