summaryrefslogtreecommitdiff
path: root/cli/tests/integration/repl_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-30 12:15:21 -0400
committerGitHub <noreply@github.com>2023-03-30 16:15:21 +0000
commitc4f82cab31d1ec09b2bce1f0155f92c7d7bd50e0 (patch)
tree88794a5bffffa78faf05c13be7a892ea44ff9d5c /cli/tests/integration/repl_tests.rs
parentcc7f5c10156333acae8cf9d004bb859ba5c58115 (diff)
fix(lsp): `textDocument/references` should respect `includeDeclaration` (#18496)
Diffstat (limited to 'cli/tests/integration/repl_tests.rs')
-rw-r--r--cli/tests/integration/repl_tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs
index 27a9b716c..73c8918f9 100644
--- a/cli/tests/integration/repl_tests.rs
+++ b/cli/tests/integration/repl_tests.rs
@@ -905,7 +905,7 @@ fn package_json_uncached_no_error() {
);
test_context.new_command().with_pty(|mut console| {
console.write_line("console.log(123 + 456);");
- console.expect("579");
+ console.expect_all(&["579", "undefined"]);
assert_not_contains!(
console.all_output(),
"Could not set npm package requirements",
@@ -914,7 +914,7 @@ fn package_json_uncached_no_error() {
// should support getting the package now though
console
.write_line("import { getValue, setValue } from '@denotest/esm-basic';");
- console.expect("undefined");
+ console.expect_all(&["undefined", "Initialize"]);
console.write_line("setValue(12 + 30);");
console.expect("undefined");
console.write_line("getValue()");