summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/lsp/selection_range_response.json26
-rw-r--r--cli/tests/testdata/test/doc.out2
2 files changed, 20 insertions, 8 deletions
diff --git a/cli/tests/testdata/lsp/selection_range_response.json b/cli/tests/testdata/lsp/selection_range_response.json
index b5eef5ddc..c5a8b288e 100644
--- a/cli/tests/testdata/lsp/selection_range_response.json
+++ b/cli/tests/testdata/lsp/selection_range_response.json
@@ -47,7 +47,7 @@
"range": {
"start": {
"line": 1,
- "character": 2
+ "character": 12
},
"end": {
"line": 6,
@@ -57,23 +57,35 @@
"parent": {
"range": {
"start": {
- "line": 0,
- "character": 11
+ "line": 1,
+ "character": 2
},
"end": {
- "line": 7,
- "character": 0
+ "line": 6,
+ "character": 3
}
},
"parent": {
"range": {
"start": {
"line": 0,
- "character": 0
+ "character": 11
},
"end": {
"line": 7,
- "character": 1
+ "character": 0
+ }
+ },
+ "parent": {
+ "range": {
+ "start": {
+ "line": 0,
+ "character": 0
+ },
+ "end": {
+ "line": 7,
+ "character": 1
+ }
}
}
}
diff --git a/cli/tests/testdata/test/doc.out b/cli/tests/testdata/test/doc.out
index 91ecbd4d4..1766912e5 100644
--- a/cli/tests/testdata/test/doc.out
+++ b/cli/tests/testdata/test/doc.out
@@ -4,7 +4,7 @@ Check [WILDCARD]/doc.ts$10-13.jsx
Check [WILDCARD]/doc.ts$14-17.ts
Check [WILDCARD]/doc.ts$18-21.tsx
Check [WILDCARD]/doc.ts$30-35.ts
-error: TS2367 [ERROR]: This condition will always return 'false' since the types 'string' and 'number' have no overlap.
+error: TS2367 [ERROR]: This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.
console.assert(check() == 42);
~~~~~~~~~~~~~
at [WILDCARD]/doc.ts$30-35.ts:3:16