From 27981d2dbc96afd41d7aadd1c2845315d9e06828 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Wed, 6 Nov 2024 00:18:12 +1300 Subject: [PATCH] WPT: fix inverted pass/fail status --- apps/wpt/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wpt/src/main.rs b/apps/wpt/src/main.rs index 9b092e86e..b09f77ea3 100644 --- a/apps/wpt/src/main.rs +++ b/apps/wpt/src/main.rs @@ -336,9 +336,9 @@ async fn process_test_file_with_ref( let parent = path.parent().unwrap(); fs::create_dir_all(parent).unwrap(); diff.1.save_with_format(path, ImageFormat::Png).unwrap(); - TestResult::Pass - } else { TestResult::Fail + } else { + TestResult::Pass } }