diff options
Diffstat (limited to 'cli/tests/integration_tests_lsp.rs')
-rw-r--r-- | cli/tests/integration_tests_lsp.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/integration_tests_lsp.rs b/cli/tests/integration_tests_lsp.rs index 0d203c7f8..1f58c0749 100644 --- a/cli/tests/integration_tests_lsp.rs +++ b/cli/tests/integration_tests_lsp.rs @@ -957,7 +957,8 @@ fn lsp_rename() { "uri": "file:///a/file.ts", "languageId": "typescript", "version": 1, - "text": "let variable = 'a';\nconsole.log(variable);" + // this should not rename in comments and strings + "text": "let variable = 'a'; // variable\nconsole.log(variable);\n\"variable\";\n" } }), ); |