mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
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.
This commit is contained in:
1 parent
e75482777d
commit
2433ef30c0
1 file changed
+4
-3
@@ -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",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user