summaryrefslogtreecommitdiff
path: root/test/test_eslint_executable_detection.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-18 13:21:14 +0100
committerw0rp <devw0rp@gmail.com>2017-05-20 19:02:36 +0100
commit8ebd15a54dba474ee634e0087bb460ca6e7d8428 (patch)
tree7e3190318f89530a4dbbf088681afb9f23ff672f /test/test_eslint_executable_detection.vader
parent7d8390d43e83f3e097469fd3e4f65f07a3035903 (diff)
downloadale-8ebd15a54dba474ee634e0087bb460ca6e7d8428.zip
Add commands to run ALEFix, and some tests to cover functionality so far. Add a simple autopep8 function.
Diffstat (limited to 'test/test_eslint_executable_detection.vader')
-rw-r--r--test/test_eslint_executable_detection.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_eslint_executable_detection.vader b/test/test_eslint_executable_detection.vader
index e963ae1c..03bb89e8 100644
--- a/test/test_eslint_executable_detection.vader
+++ b/test/test_eslint_executable_detection.vader
@@ -20,7 +20,7 @@ Execute(create-react-app directories should be detected correctly):
AssertEqual
\ g:dir . '/eslint-test-files/react-app/node_modules/eslint/bin/eslint.js',
- \ ale_linters#javascript#eslint#GetExecutable(bufnr(''))
+ \ ale#handlers#eslint#GetExecutable(bufnr(''))
:q
@@ -31,7 +31,7 @@ Execute(use-global should override create-react-app detection):
AssertEqual
\ 'eslint_d',
- \ ale_linters#javascript#eslint#GetExecutable(bufnr(''))
+ \ ale#handlers#eslint#GetExecutable(bufnr(''))
:q
@@ -40,7 +40,7 @@ Execute(other app directories should be detected correctly):
AssertEqual
\ g:dir . '/eslint-test-files/node_modules/.bin/eslint',
- \ ale_linters#javascript#eslint#GetExecutable(bufnr(''))
+ \ ale#handlers#eslint#GetExecutable(bufnr(''))
:q
@@ -51,6 +51,6 @@ Execute(use-global should override other app directories):
AssertEqual
\ 'eslint_d',
- \ ale_linters#javascript#eslint#GetExecutable(bufnr(''))
+ \ ale#handlers#eslint#GetExecutable(bufnr(''))
:q