summaryrefslogtreecommitdiff
path: root/test/command_callback/test_jscs_command_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-08 23:26:50 +0100
committerw0rp <devw0rp@gmail.com>2017-10-08 23:26:50 +0100
commita809c4fa3a781af7401d2f11ee5155caef081457 (patch)
treeba0becb5ee2237c909e45b70f5112d35b7534bb1 /test/command_callback/test_jscs_command_callback.vader
parent65aa88a7d5d9b855f71f2b2f30cb4ae1fca63ad3 (diff)
downloadale-a809c4fa3a781af7401d2f11ee5155caef081457.zip
Get more random tests to pass on Windows
Diffstat (limited to 'test/command_callback/test_jscs_command_callback.vader')
-rw-r--r--test/command_callback/test_jscs_command_callback.vader16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/command_callback/test_jscs_command_callback.vader b/test/command_callback/test_jscs_command_callback.vader
index 8245337e..f118c039 100644
--- a/test/command_callback/test_jscs_command_callback.vader
+++ b/test/command_callback/test_jscs_command_callback.vader
@@ -7,19 +7,19 @@ After:
Execute(Should return the correct default values):
AssertEqual
- \ 'jscs',
- \ ale_linters#javascript#jscs#GetExecutable(bufnr(''))
+ \ 'jscs',
+ \ ale_linters#javascript#jscs#GetExecutable(bufnr(''))
AssertEqual
- \ '''jscs'' --reporter inline --no-colors -',
- \ ale_linters#javascript#jscs#GetCommand(bufnr(''))
+ \ ale#Escape('jscs') . ' --reporter inline --no-colors -',
+ \ ale_linters#javascript#jscs#GetCommand(bufnr(''))
Execute(Should allow using a custom executable):
let g:ale_javascript_jscs_executable = 'foobar'
AssertEqual
- \ 'foobar',
- \ ale_linters#javascript#jscs#GetExecutable(bufnr(''))
+ \ 'foobar',
+ \ ale_linters#javascript#jscs#GetExecutable(bufnr(''))
AssertEqual
- \ '''foobar'' --reporter inline --no-colors -',
- \ ale_linters#javascript#jscs#GetCommand(bufnr(''))
+ \ ale#Escape('foobar') . ' --reporter inline --no-colors -',
+ \ ale_linters#javascript#jscs#GetCommand(bufnr(''))