summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-05-23 12:05:21 +0100
committerGitHub <noreply@github.com>2019-05-23 12:05:21 +0100
commit1a9b8a58c7e01f0926e51b39b7b37f932537cc0c (patch)
treedb9ef99cb0a4aa048a7aa439b629b13cb6d182f6 /test
parent092748caacfe720835e7c7efc934ffa5e70ccc5d (diff)
parent5a8ba7526532f8bd6dde93764cccc5277d568349 (diff)
downloadale-1a9b8a58c7e01f0926e51b39b7b37f932537cc0c.zip
Merge pull request #2520 from hsanson/fix-eclipselsp-workspace-config
Fix eclipselsp workspace config
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_eclipselsp_command_callback.vader18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/command_callback/test_eclipselsp_command_callback.vader b/test/command_callback/test_eclipselsp_command_callback.vader
index 2d2b4613..f25ed5fc 100644
--- a/test/command_callback/test_eclipselsp_command_callback.vader
+++ b/test/command_callback/test_eclipselsp_command_callback.vader
@@ -61,11 +61,11 @@ Execute(The eclipselsp callback should return the correct default value):
\ '-noverify',
\ '-Xmx1G',
\ '-jar',
- \ '',
+ \ ale#Escape(''),
\ '-configuration',
- \ b:cfg,
+ \ ale#Escape(b:cfg),
\ '-data',
- \ ''
+ \ ale#Escape(ale#path#Simplify(''))
\]
AssertLinter 'java', join(cmd, ' ')
@@ -79,11 +79,11 @@ Execute(The eclipselsp callback should allow custom executable):
\ '-noverify',
\ '-Xmx1G',
\ '-jar',
- \ '',
+ \ ale#Escape(''),
\ '-configuration',
- \ b:cfg,
+ \ ale#Escape(b:cfg),
\ '-data',
- \ ''
+ \ ale#Escape(ale#path#Simplify(''))
\]
AssertLinter '/bin/foobar', join(cmd, ' ')
@@ -97,10 +97,10 @@ Execute(The eclipselsp callback should allow custom configuration path):
\ '-noverify',
\ '-Xmx1G',
\ '-jar',
- \ '',
+ \ ale#Escape(''),
\ '-configuration',
- \ ale#path#Simplify('/home/config'),
+ \ ale#Escape(ale#path#Simplify('/home/config')),
\ '-data',
- \ ''
+ \ ale#Escape(ale#path#Simplify(''))
\]
AssertLinter 'java', join(cmd, ' ')