summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/rt/40_repl.js2
-rw-r--r--cli/tests/integration_tests.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/rt/40_repl.js b/cli/rt/40_repl.js
index 273687d93..650fb7fc8 100644
--- a/cli/rt/40_repl.js
+++ b/cli/rt/40_repl.js
@@ -63,7 +63,7 @@
? undefined
: result;
if (!isCloseCalled()) {
- replLog(lastEvalResult);
+ replLog("%o", lastEvalResult);
}
} else if (errInfo.isCompileError && isRecoverableError(errInfo.thrown)) {
// Recoverable compiler error
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 5c2bb1b95..4eda0e8dd 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1053,7 +1053,7 @@ fn repl_test_console_log() {
Some(vec![("NO_COLOR".to_owned(), "1".to_owned())]),
false,
);
- assert!(out.ends_with("hello\nundefined\nworld\n"));
+ assert!(out.ends_with("hello\nundefined\n\"world\"\n"));
assert!(err.is_empty());
}