summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs30
1 files changed, 15 insertions, 15 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index 7dc5ff02d..8390b0f6f 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -1084,21 +1084,21 @@ fn lsp_inlay_hints() {
"text": r#"function a(b: string) {
return b;
}
-
+
a("foo");
-
+
enum C {
A,
}
-
+
parseInt("123", 8);
-
+
const d = Date.now();
-
+
class E {
f = Date.now();
}
-
+
["a"].map((v) => v + v);
"#
}
@@ -1234,21 +1234,21 @@ fn lsp_inlay_hints_not_enabled() {
"text": r#"function a(b: string) {
return b;
}
-
+
a("foo");
-
+
enum C {
A,
}
-
+
parseInt("123", 8);
-
+
const d = Date.now();
-
+
class E {
f = Date.now();
}
-
+
["a"].map((v) => v + v);
"#
}
@@ -1871,7 +1871,7 @@ fn lsp_hover_dependency() {
Some(json!({
"contents": {
"kind": "markdown",
- "value": "**Resolved Dependency**\n\n**Code**: http​://127.0.0.1:4545/xTypeScriptTypes.js\n"
+ "value": "**Resolved Dependency**\n\n**Code**: http​://127.0.0.1:4545/xTypeScriptTypes.js\n\n**Types**: http​://127.0.0.1:4545/xTypeScriptTypes.d.ts\n"
},
"range": {
"start": {
@@ -1905,7 +1905,7 @@ fn lsp_hover_dependency() {
Some(json!({
"contents": {
"kind": "markdown",
- "value": "**Resolved Dependency**\n\n**Code**: http​://127.0.0.1:4545/subdir/type_reference.js\n"
+ "value": "**Resolved Dependency**\n\n**Code**: http​://127.0.0.1:4545/subdir/type_reference.js\n\n**Types**: http​://127.0.0.1:4545/subdir/type_reference.d.ts\n"
},
"range": {
"start": {
@@ -4256,7 +4256,7 @@ fn lsp_cache_location() {
Some(json!({
"contents": {
"kind": "markdown",
- "value": "**Resolved Dependency**\n\n**Code**: http​://127.0.0.1:4545/xTypeScriptTypes.js\n"
+ "value": "**Resolved Dependency**\n\n**Code**: http​://127.0.0.1:4545/xTypeScriptTypes.js\n\n**Types**: http​://127.0.0.1:4545/xTypeScriptTypes.d.ts\n"
},
"range": {
"start": {