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/test_eslint_executable_detection.vader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_eslint_executable_detection.vader') diff --git a/test/test_eslint_executable_detection.vader b/test/test_eslint_executable_detection.vader index 30ae38d5..411fa134 100644 --- a/test/test_eslint_executable_detection.vader +++ b/test/test_eslint_executable_detection.vader @@ -58,7 +58,7 @@ Execute(eslint.js executables should be run with node on Windows): " We have to execute the file with node. AssertEqual - \ 'node ''' - \ . g:dir . '/eslint-test-files/react-app/node_modules/eslint/bin/eslint.js' - \ . ''' -f unix --stdin --stdin-filename %s', + \ ale#Escape('node.exe') . ' ' + \ . ale#Escape(g:dir . '/eslint-test-files/react-app/node_modules/eslint/bin/eslint.js') + \ . ' -f unix --stdin --stdin-filename %s', \ ale#handlers#eslint#GetCommand(bufnr('')) -- cgit v1.2.3