summaryrefslogtreecommitdiff
path: root/tests/src/run.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2025-02-24 13:28:01 +0100
committerGitHub <noreply@github.com>2025-02-24 12:28:01 +0000
commit69c3f957051358eff961addbcae4ff02448513dc (patch)
tree4108c418417313d084318ffecf59cab56de32cb9 /tests/src/run.rs
parentebe25432641a729780578a2440eaf9fb07c80e38 (diff)
Bump MSRV to 1.83 and Rust in CI to 1.85 (#5946)
Diffstat (limited to 'tests/src/run.rs')
-rw-r--r--tests/src/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/run.rs b/tests/src/run.rs
index f9a3c043..4d08362c 100644
--- a/tests/src/run.rs
+++ b/tests/src/run.rs
@@ -161,7 +161,7 @@ impl<'a> Runner<'a> {
// Compare against reference output if available.
// Test that is ok doesn't need to be updated.
- if ref_data.as_ref().map_or(false, |r| D::matches(&live, r)) {
+ if ref_data.as_ref().is_ok_and(|r| D::matches(&live, r)) {
return;
}