mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-26 03:27:21 +08:00
@@ -18,7 +18,7 @@ Execute(ale#lsp#response#ReadDiagnostics() should handle errors):
|
||||
\ 'col': 11,
|
||||
\ 'end_lnum': 5,
|
||||
\ 'end_col': 16,
|
||||
\ 'nr': 'some-error',
|
||||
\ 'code': 'some-error',
|
||||
\ }
|
||||
\ ],
|
||||
\ ale#lsp#response#ReadDiagnostics({'params': {'uri': 'filename.ts', 'diagnostics': [
|
||||
@@ -39,7 +39,7 @@ Execute(ale#lsp#response#ReadDiagnostics() should handle warnings):
|
||||
\ 'col': 4,
|
||||
\ 'end_lnum': 2,
|
||||
\ 'end_col': 4,
|
||||
\ 'nr': 'some-warning',
|
||||
\ 'code': 'some-warning',
|
||||
\ }
|
||||
\ ],
|
||||
\ ale#lsp#response#ReadDiagnostics({'params': {'uri': 'filename.ts', 'diagnostics': [
|
||||
@@ -60,7 +60,7 @@ Execute(ale#lsp#response#ReadDiagnostics() should treat messages with missing se
|
||||
\ 'col': 11,
|
||||
\ 'end_lnum': 5,
|
||||
\ 'end_col': 16,
|
||||
\ 'nr': 'some-error',
|
||||
\ 'code': 'some-error',
|
||||
\ }
|
||||
\ ],
|
||||
\ ale#lsp#response#ReadDiagnostics({'params': {'uri': 'filename.ts', 'diagnostics': [
|
||||
@@ -126,6 +126,7 @@ Execute(ale#lsp#response#ReadTSServerDiagnostics() should handle tsserver respon
|
||||
\ {
|
||||
\ 'type': 'E',
|
||||
\ 'nr': 2365,
|
||||
\ 'code': '2365',
|
||||
\ 'text': 'Operator ''''+'''' cannot be applied to types ''''3'''' and ''''{}''''.',
|
||||
\ 'lnum': 1,
|
||||
\ 'col': 11,
|
||||
@@ -142,6 +143,7 @@ Execute(ale#lsp#response#ReadTSServerDiagnostics() should handle warnings from t
|
||||
\ 'lnum': 27,
|
||||
\ 'col': 3,
|
||||
\ 'nr': 2515,
|
||||
\ 'code': '2515',
|
||||
\ 'end_lnum': 27,
|
||||
\ 'type': 'W',
|
||||
\ 'end_col': 14,
|
||||
@@ -157,6 +159,7 @@ Execute(ale#lsp#response#ReadTSServerDiagnostics() should handle suggestions fro
|
||||
\ 'lnum': 27,
|
||||
\ 'col': 3,
|
||||
\ 'nr': 2515,
|
||||
\ 'code': '2515',
|
||||
\ 'end_lnum': 27,
|
||||
\ 'type': 'I',
|
||||
\ 'end_col': 14,
|
||||
|
||||
Reference in New Issue
Block a user