mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
Test file was the wrong way around
This commit is contained in:
@@ -149,6 +149,13 @@ Execute(ale#lsp#response#ReadDiagnostics() should use relatedInformation for det
|
|||||||
\ 'col': 3,
|
\ 'col': 3,
|
||||||
\ 'end_lnum': 1,
|
\ 'end_lnum': 1,
|
||||||
\ 'end_col': 3,
|
\ 'end_col': 3,
|
||||||
|
\ 'detail': "Something went wrong!\n/tmp/someotherfile.txt:42:79:\n\tmight be this"
|
||||||
|
\ }
|
||||||
|
\ ],
|
||||||
|
\ ale#lsp#response#ReadDiagnostics({'params': {'uri': 'filename.ts', 'diagnostics': [
|
||||||
|
\ {
|
||||||
|
\ 'range': Range(0, 2, 0, 2),
|
||||||
|
\ 'message': 'Something went wrong!',
|
||||||
\ 'relatedInformation': [{
|
\ 'relatedInformation': [{
|
||||||
\ 'message': 'might be this',
|
\ 'message': 'might be this',
|
||||||
\ 'location': {
|
\ 'location': {
|
||||||
@@ -160,13 +167,6 @@ Execute(ale#lsp#response#ReadDiagnostics() should use relatedInformation for det
|
|||||||
\ }
|
\ }
|
||||||
\ }]
|
\ }]
|
||||||
\ }
|
\ }
|
||||||
\ ],
|
|
||||||
\ ale#lsp#response#ReadDiagnostics({'params': {'uri': 'filename.ts', 'diagnostics': [
|
|
||||||
\ {
|
|
||||||
\ 'range': Range(0, 2, 0, 2),
|
|
||||||
\ 'message': 'Something went wrong!',
|
|
||||||
\ 'detail': "Something went wrong!\n/tmp/someotherfile.txt:42:79:\n\tmight be this"
|
|
||||||
\ }
|
|
||||||
\ ]}})
|
\ ]}})
|
||||||
|
|
||||||
Execute(ale#lsp#response#ReadTSServerDiagnostics() should handle tsserver responses):
|
Execute(ale#lsp#response#ReadTSServerDiagnostics() should handle tsserver responses):
|
||||||
|
|||||||
Reference in New Issue
Block a user