Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Feb 27, 2023
1 parent 099a403 commit 6c0482e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion boa_engine/src/console/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ fn formatter_utf_8_checks() {
#[test]
fn formatter_trailing_format_leader_renders() {
run_test([TestAction::inspect_context(|ctx| {
assert_eq!(formatter(&[JsValue::new("%%%%%"),], ctx).unwrap(), "%%% |");
assert_eq!(
formatter(&[JsValue::new("%%%%%"), JsValue::new("|")], ctx).unwrap(),
"%%% |"
);
})]);
}

Expand Down

0 comments on commit 6c0482e

Please sign in to comment.