summaryrefslogtreecommitdiff
path: root/test/test_env_function.vader
blob: 429eeae6d5baa43398d65c8b21d51c616d8793ee (plain)
1
2
3
4
5
6
7
8
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