Skip to content

Commit

Permalink
Fix test262 comment formatting (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7D2B authored May 29, 2021
1 parent 1a58c9f commit e7ffe7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boa_tester/src/results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ pub(crate) fn compare_results(base: &Path, new: &Path, markdown: bool) {
if !test_diff.fixed.is_empty() {
println!();
println!("<details><summary><b>Fixed tests:</b></summary>");
println!("```");
println!("\n```");
for test in test_diff.fixed {
println!("{}", test);
}
Expand All @@ -286,7 +286,7 @@ pub(crate) fn compare_results(base: &Path, new: &Path, markdown: bool) {
if !test_diff.broken.is_empty() {
println!();
println!("<details><summary><b>Broken tests:</b></summary>");
println!("```");
println!("\n```");
for test in test_diff.broken {
println!("{}", test);
}
Expand All @@ -297,7 +297,7 @@ pub(crate) fn compare_results(base: &Path, new: &Path, markdown: bool) {
if !test_diff.new_panics.is_empty() {
println!();
println!("<details><summary><b>New panics:</b></summary>");
println!("```");
println!("\n```");
for test in test_diff.new_panics {
println!("{}", test);
}
Expand All @@ -308,7 +308,7 @@ pub(crate) fn compare_results(base: &Path, new: &Path, markdown: bool) {
if !test_diff.panic_fixes.is_empty() {
println!();
println!("<details><summary><b>Fixed panics:</b></summary>");
println!("```");
println!("\n```");
for test in test_diff.panic_fixes {
println!("{}", test);
}
Expand Down

0 comments on commit e7ffe7f

Please sign in to comment.