mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Add neovim 0.6 to run-tests (#3998)
* Update test scripts * Remove neovim 0.3 and 0.4 * Add neovim 0.6.1 Co-authored-by: Horacio Sanson <horacio@allm.inc> Co-authored-by: w0rp <devw0rp@gmail.com>
This commit is contained in:
@@ -108,7 +108,7 @@ Execute(tsserver syntax error responses should be handled correctly):
|
||||
\ 'pattern': '',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
" After we get empty syntax errors, we should clear them.
|
||||
call ale#lsp_linter#HandleLSPResponse(1, {
|
||||
@@ -125,7 +125,7 @@ Execute(tsserver syntax error responses should be handled correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
" Syntax errors on the project root should not populate the LocList.
|
||||
call ale#lsp_linter#HandleLSPResponse(1, {
|
||||
@@ -154,7 +154,7 @@ Execute(tsserver syntax error responses should be handled correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
Execute(tsserver semantic error responses should be handled correctly):
|
||||
runtime ale_linters/typescript/tsserver.vim
|
||||
@@ -222,7 +222,7 @@ Execute(tsserver semantic error responses should be handled correctly):
|
||||
\ 'pattern': '',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
" After we get empty syntax errors, we should clear them.
|
||||
call ale#lsp_linter#HandleLSPResponse(1, {
|
||||
@@ -239,7 +239,7 @@ Execute(tsserver semantic error responses should be handled correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
" Semantic errors on the project root should not populate the LocList.
|
||||
call ale#lsp_linter#HandleLSPResponse(1, {
|
||||
@@ -268,7 +268,7 @@ Execute(tsserver semantic error responses should be handled correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
Execute(tsserver errors should mark tsserver no longer active):
|
||||
let b:ale_linters = ['tsserver']
|
||||
@@ -350,7 +350,7 @@ Execute(LSP diagnostics responses should be handled correctly):
|
||||
\ 'text': 'Missing JRE 1-8'
|
||||
\ }
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
Execute(LSP diagnostics responses on project root should not populate loclist):
|
||||
let b:ale_linters = ['eclipselsp']
|
||||
@@ -388,7 +388,7 @@ Execute(LSP diagnostics responses on project root should not populate loclist):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ ],
|
||||
\ ale#test#GetLoclistWithoutModule()
|
||||
\ ale#test#GetLoclistWithoutNewerKeys()
|
||||
|
||||
Execute(LSP errors should mark linters no longer active):
|
||||
let b:ale_linters = ['pylsp']
|
||||
|
||||
Reference in New Issue
Block a user