summaryrefslogtreecommitdiff
path: root/test/test_env_function.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2023-09-16 22:33:59 +0100
committerw0rp <devw0rp@gmail.com>2023-09-16 22:33:59 +0100
commite412fa34ff172b4101893aacab94be31992fb5c6 (patch)
tree91e663c4235e67d56814ab5670e01da5c6294399 /test/test_env_function.vader
parentae1d0515049ed135878672e06b51b083f5ae384d (diff)
downloadale-e412fa34ff172b4101893aacab94be31992fb5c6.zip
Fix #3115 - Fix environment variable quoting on Windows
Diffstat (limited to 'test/test_env_function.vader')
-rw-r--r--test/test_env_function.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_env_function.vader b/test/test_env_function.vader
index 856a3f57..429eeae6 100644
--- a/test/test_env_function.vader
+++ b/test/test_env_function.vader
@@ -1,7 +1,7 @@
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')
+ 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')