diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-31 13:12:24 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-31 13:12:24 +0100 |
commit | 7c2a5052a850a6e7df10c2b4f84fd5b343175d8d (patch) | |
tree | 97225111667373635892128784b34cd854379cdd /test/test_eslint_executable_detection.vader | |
parent | 1d86a724f2f54212d1230fcb2195220f5b3727f9 (diff) | |
download | ale-7c2a5052a850a6e7df10c2b4f84fd5b343175d8d.zip |
Fix #895 - Run Node.js scripts with node.exe instead of node on Windows
Diffstat (limited to 'test/test_eslint_executable_detection.vader')
-rw-r--r-- | test/test_eslint_executable_detection.vader | 6 |
1 files changed, 3 insertions, 3 deletions
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('')) |