summaryrefslogtreecommitdiff
path: root/cli/tests/integration/repl_tests.rs
diff options
context:
space:
mode:
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()");