Skip to content

Commit

Permalink
Merge 9152734 into e7ffe7f
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican authored May 29, 2021
2 parents e7ffe7f + 9152734 commit fb48172
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion boa_tester/src/results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,14 @@ fn compute_result_diff(
| (TestOutcomeResult::Failed, TestOutcomeResult::Failed)
| (TestOutcomeResult::Panic, TestOutcomeResult::Panic) => {}

(TestOutcomeResult::Panic, TestOutcomeResult::Failed) => {
final_diff.panic_fixes.push(test_name)
}

(_, TestOutcomeResult::Passed) => final_diff.fixed.push(test_name),
(_, TestOutcomeResult::Failed) => final_diff.broken.push(test_name),
(_, TestOutcomeResult::Panic) => final_diff.new_panics.push(test_name),
(TestOutcomeResult::Panic, _) => final_diff.panic_fixes.push(test_name),

_ => {}
}
}
Expand Down

0 comments on commit fb48172

Please sign in to comment.