Handle failing to connect to eslint_d

This commit is contained in:
w0rp committed 2018-09-17 17:32:57 +01:00
1 parent a4a4bba884
commit ddb3e6d57a
4 files changed
+27 -1

No files matched your search

@@ -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',
\ ])