From 7c2a5052a850a6e7df10c2b4f84fd5b343175d8d Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 31 Aug 2017 13:12:24 +0100 Subject: Fix #895 - Run Node.js scripts with node.exe instead of node on Windows --- test/command_callback/test_standard_command_callback.vader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/command_callback/test_standard_command_callback.vader') 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): -- cgit v1.2.3