summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-31 13:12:24 +0100
committerw0rp <devw0rp@gmail.com>2017-08-31 13:12:24 +0100
commit7c2a5052a850a6e7df10c2b4f84fd5b343175d8d (patch)
tree97225111667373635892128784b34cd854379cdd /test/command_callback
parent1d86a724f2f54212d1230fcb2195220f5b3727f9 (diff)
downloadale-7c2a5052a850a6e7df10c2b4f84fd5b343175d8d.zip
Fix #895 - Run Node.js scripts with node.exe instead of node on Windows
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_standard_command_callback.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command_callback/test_standard_command_callback.vader b/test/command_callback/test_standard_command_callback.vader
index fa90175b..193ead83 100644
--- a/test/command_callback/test_standard_command_callback.vader
+++ b/test/command_callback/test_standard_command_callback.vader
@@ -67,7 +67,7 @@ Execute(.js files should be executed with node on Windows):
\ ale_linters#javascript#standard#GetExecutable(bufnr(''))
AssertEqual
- \ 'node ' . ale#Escape(b:executable) . ' --stdin %s',
+ \ ale#Escape('node.exe') . ' ' . ale#Escape(b:executable) . ' --stdin %s',
\ ale_linters#javascript#standard#GetCommand(bufnr(''))
Execute(The global executable should be used otherwise):