Test file was the wrong way around

This commit is contained in:
Fred Emmott 2018-08-15 14:40:51 -07:00
parent c467db3ed9
commit 764da48c57
No known key found for this signature in database
GPG Key ID: 06C22A9D789FCA28
1 changed files with 7 additions and 7 deletions

View File

@ -149,6 +149,13 @@ Execute(ale#lsp#response#ReadDiagnostics() should use relatedInformation for det
\ 'col': 3,
\ 'end_lnum': 1,
\ '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': [{
\ 'message': 'might be this',
\ '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):