Skip to content

Commit

Permalink
Removed non-needed as_ref()
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Oct 3, 2023
1 parent 286cc00 commit 099dbda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_tester/src/exec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl TestSuite {
let mut es_next = Statistics::default();

for test in &tests {
match (test.strict.as_ref(), test.no_strict.as_ref()) {
match (test.strict, test.no_strict) {
(Some(TestOutcomeResult::Passed), None | Some(TestOutcomeResult::Passed))
| (None, Some(TestOutcomeResult::Passed)) => {
versioned_stats.apply(test.edition, |stats| {
Expand Down

0 comments on commit 099dbda

Please sign in to comment.