From c4f82cab31d1ec09b2bce1f0155f92c7d7bd50e0 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 30 Mar 2023 12:15:21 -0400 Subject: fix(lsp): `textDocument/references` should respect `includeDeclaration` (#18496) --- cli/tests/integration/repl_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/integration/repl_tests.rs') 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()"); -- cgit v1.2.3