diff options
author | w0rp <devw0rp@gmail.com> | 2018-09-17 17:32:57 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-09-17 17:32:57 +0100 |
commit | ddb3e6d57acfc9081f8c6846d896542014e3024b (patch) | |
tree | 744aff906ad68b7f729f826c9c3bddaa9ec780d3 /test/fixers/test_eslint_fixer_callback.vader | |
parent | a4a4bba884bee9714fcfe70d049e0844ac288743 (diff) | |
download | ale-ddb3e6d57acfc9081f8c6846d896542014e3024b.zip |
Handle failing to connect to eslint_d
Diffstat (limited to 'test/fixers/test_eslint_fixer_callback.vader')
-rw-r--r-- | test/fixers/test_eslint_fixer_callback.vader | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fixers/test_eslint_fixer_callback.vader b/test/fixers/test_eslint_fixer_callback.vader index be33825c..774595e3 100644 --- a/test/fixers/test_eslint_fixer_callback.vader +++ b/test/fixers/test_eslint_fixer_callback.vader @@ -170,3 +170,10 @@ Execute(The eslint_d post-processor should handle error messages correctly): \ ale#fixers#eslint#ProcessEslintDOutput(bufnr(''), [ \ 'Error: No ESLint configuration found.', \ ]) + +Execute(The eslint_d post-processor should handle failing to connect properly): + AssertEqual + \ [], + \ ale#fixers#eslint#ProcessEslintDOutput(bufnr(''), [ + \ 'Could not connect', + \ ]) |