summaryrefslogtreecommitdiff
path: root/tests/integration/repl_tests.rs
diff options
context:
space:
mode:
authorhaturau <135221985+haturatu@users.noreply.github.com>2024-11-20 01:20:47 +0900
committerGitHub <noreply@github.com>2024-11-20 01:20:47 +0900
commit85719a67e59c7aa45bead26e4942d7df8b1b42d4 (patch)
treeface0aecaac53e93ce2f23b53c48859bcf1a36ec /tests/integration/repl_tests.rs
parent67697bc2e4a62a9670699fd18ad0dd8efc5bd955 (diff)
parent186b52731c6bb326c4d32905c5e732d082e83465 (diff)
Merge branch 'denoland:main' into main
Diffstat (limited to 'tests/integration/repl_tests.rs')
-rw-r--r--tests/integration/repl_tests.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/integration/repl_tests.rs b/tests/integration/repl_tests.rs
index 4e00398ce..9eceb2f05 100644
--- a/tests/integration/repl_tests.rs
+++ b/tests/integration/repl_tests.rs
@@ -255,6 +255,20 @@ fn console_log() {
console.write_line("'world'");
console.expect("\"world\"");
});
+
+ // https://github.com/denoland/deno/issues/21428
+ let (out, err) = util::run_and_collect_output_with_args(
+ true,
+ vec![
+ "repl",
+ "--eval-file=./../specs/repl/console_log/093_console_log_format.js",
+ ],
+ None,
+ None,
+ false,
+ );
+ assert_contains!(out, "0.5");
+ assert!(err.is_empty());
}
#[test]