summaryrefslogtreecommitdiff
path: root/test/command_callback/test_pony_ponyc_command_callbacks.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-02-18 10:06:40 +0000
committerw0rp <devw0rp@gmail.com>2018-02-18 10:06:40 +0000
commit5915a0ee39ba04a5a4118d5f71766912a6b87fe9 (patch)
tree09bd86218075d8de107f591ae432acae17d29b1a /test/command_callback/test_pony_ponyc_command_callbacks.vader
parent608b6dafd4cf6399f87670a9edf291b1261763d0 (diff)
downloadale-5915a0ee39ba04a5a4118d5f71766912a6b87fe9.zip
Escape the ponyc executable
Diffstat (limited to 'test/command_callback/test_pony_ponyc_command_callbacks.vader')
-rw-r--r--test/command_callback/test_pony_ponyc_command_callbacks.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_pony_ponyc_command_callbacks.vader b/test/command_callback/test_pony_ponyc_command_callbacks.vader
index e48346e8..7acbfa9d 100644
--- a/test/command_callback/test_pony_ponyc_command_callbacks.vader
+++ b/test/command_callback/test_pony_ponyc_command_callbacks.vader
@@ -13,11 +13,11 @@ After:
Execute(The options should be used in the command):
AssertEqual
- \ 'ponyc --pass paint',
+ \ ale#Escape('ponyc') . ' --pass paint',
\ ale_linters#pony#ponyc#GetCommand(bufnr(''))
let b:ale_pony_ponyc_options = 'foobar'
AssertEqual
- \ 'ponyc foobar',
+ \ ale#Escape('ponyc') . ' foobar',
\ ale_linters#pony#ponyc#GetCommand(bufnr(''))