From 96abb27e7328391e9319c99dd23595e42f7982a2 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 18 May 2021 06:45:13 +1000 Subject: refactor: share test harness for lsp between bench and integration (#10659) --- cli/tests/lsp/code_action_resolve_params.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cli/tests/lsp/code_action_resolve_params.json (limited to 'cli/tests/lsp/code_action_resolve_params.json') 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" + } +} -- cgit v1.2.3