summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/rename_response.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-05-18 06:45:13 +1000
committerGitHub <noreply@github.com>2021-05-18 06:45:13 +1000
commit27e7bb090e9d771c8f3e4ddba4dd956a4a56855b (patch)
tree82cb99c1406fc94850bc3d5d66f8db40300860de /cli/tests/lsp/rename_response.json
parentaecdbba2c25d08d771a4e4fbeb62cac60015a3bd (diff)
refactor: share test harness for lsp between bench and integration (#10659)
Diffstat (limited to 'cli/tests/lsp/rename_response.json')
-rw-r--r--cli/tests/lsp/rename_response.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/cli/tests/lsp/rename_response.json b/cli/tests/lsp/rename_response.json
new file mode 100644
index 000000000..5e0e28e4c
--- /dev/null
+++ b/cli/tests/lsp/rename_response.json
@@ -0,0 +1,38 @@
+{
+ "documentChanges": [
+ {
+ "textDocument": {
+ "uri": "file:///a/file.ts",
+ "version": 1
+ },
+ "edits": [
+ {
+ "range": {
+ "start": {
+ "line": 0,
+ "character": 4
+ },
+ "end": {
+ "line": 0,
+ "character": 12
+ }
+ },
+ "newText": "variable_modified"
+ },
+ {
+ "range": {
+ "start": {
+ "line": 1,
+ "character": 12
+ },
+ "end": {
+ "line": 1,
+ "character": 20
+ }
+ },
+ "newText": "variable_modified"
+ }
+ ]
+ }
+ ]
+}