From 2433ef30c0e6321b52c1c0854a1fd600fb09663e Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sun, 18 Oct 2026 08:22:56 +0200 Subject: [PATCH] fix: read verify's verdict call across lines The source check matched the call on one line; passing the RomM hash rule split it, and the check failed although verify still applies the rule. --- tests/test_hidden_extras.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_hidden_extras.py b/tests/test_hidden_extras.py index c16e4491..7c142070 100644 --- a/tests/test_hidden_extras.py +++ b/tests/test_hidden_extras.py @@ -54,9 +54,10 @@ class OneRule(unittest.TestCase): occupying its path; the builder leaves it out, and the core file that then takes the path was reported missing from the pack.""" source = (REPO_ROOT / "scripts" / "verify.py").read_text(encoding="utf-8") - self.assertIn( - "baseline_verdict(file_entry, local_path, resolve_status, mode)[1] is None", - source, + compact = " ".join(source.split()) + self.assertRegex( + compact, + r"baseline_verdict\( file_entry, local_path, resolve_status, mode.{0,60}?\)\[1\] is None", )