diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-05-18 06:45:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 06:45:13 +1000 |
commit | 27e7bb090e9d771c8f3e4ddba4dd956a4a56855b (patch) | |
tree | 82cb99c1406fc94850bc3d5d66f8db40300860de /cli/tests/lsp/code_action_resolve_params.json | |
parent | aecdbba2c25d08d771a4e4fbeb62cac60015a3bd (diff) |
refactor: share test harness for lsp between bench and integration (#10659)
Diffstat (limited to 'cli/tests/lsp/code_action_resolve_params.json')
-rw-r--r-- | cli/tests/lsp/code_action_resolve_params.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cli/tests/lsp/code_action_resolve_params.json b/cli/tests/lsp/code_action_resolve_params.json new file mode 100644 index 000000000..50c1f9a43 --- /dev/null +++ b/cli/tests/lsp/code_action_resolve_params.json @@ -0,0 +1,27 @@ +{ + "title": "Add all missing 'async' modifiers", + "kind": "quickfix", + "diagnostics": [ + { + "range": { + "start": { + "line": 1, + "character": 2 + }, + "end": { + "line": 1, + "character": 7 + } + }, + "severity": 1, + "code": 1308, + "source": "deno-ts", + "message": "'await' expressions are only allowed within async functions and at the top levels of modules.", + "relatedInformation": [] + } + ], + "data": { + "specifier": "file:///a/file.ts", + "fixId": "fixAwaitInSyncFunction" + } +} |