Fix the broken tests

This commit is contained in:
w0rp 2018-07-06 01:00:30 +01:00
parent d5b4f6f7e7
commit 0dd356aa52
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
6 changed files with 6 additions and 4 deletions

View File

@ -59,6 +59,7 @@ After:
runtime autoload/ale/completion.vim
runtime autoload/ale/lsp.vim
runtime autoload/ale/lsp_linter.vim
Given typescript(Some typescript file):
foo

View File

@ -75,6 +75,7 @@ After:
runtime autoload/ale/completion.vim
runtime autoload/ale/lsp.vim
runtime autoload/ale/lsp_linter.vim
Given foobar (Some imaginary filetype):
<contents>

View File

@ -32,6 +32,6 @@ Execute(Command formatting should be applied correctly for LSP linters):
\ g:args[:2]
else
AssertEqual
\ ['true', ['/bin/bash', '-c', '''true'' --foo'], '/foo/bar'],
\ ['true', [&shell, '-c', '''true'' --foo'], '/foo/bar'],
\ g:args[:2]
endif

View File

@ -58,7 +58,7 @@ After:
unlet! g:item_list
unlet! g:preview_called
runtime autoload/ale/linter.vim
runtime autoload/ale/lsp_linter.vim
runtime autoload/ale/lsp.vim
runtime autoload/ale/util.vim
runtime autoload/ale/preview.vim

View File

@ -48,7 +48,7 @@ After:
unlet! g:expr_list
unlet! b:ale_linters
runtime autoload/ale/linter.vim
runtime autoload/ale/lsp_linter.vim
runtime autoload/ale/lsp.vim
runtime autoload/ale/util.vim

View File

@ -61,7 +61,7 @@ After:
delfunction HandleValidLSPResult
runtime autoload/ale/linter.vim
runtime autoload/ale/lsp_linter.vim
runtime autoload/ale/lsp.vim
runtime autoload/ale/util.vim