mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-07 10:33:46 -06:00
docs: name the files adler32 belongs to
The field reference carried the same attribution the FAQ did: known_hash_adler32 described as Dolphin's IPL files, when dolphin.yml declares it on dsp_rom.bin and dsp_coef.bin. The guard now scans every wiki page rather than the FAQ alone.
This commit is contained in:
1 parent
fe77535c3b
commit
60c723a3bf
2 files changed
+11
-4
No files matched your search
@@ -119,10 +119,17 @@ class FaqRegressions(unittest.TestCase):
|
||||
for name in carriers:
|
||||
self.assertIn(name, sentence, f"FAQ omits the Adler-32 file {name}")
|
||||
self.assertNotIn(
|
||||
"IPL.bin",
|
||||
{f["name"] for f in dolphin["files"] if f.get("known_hash_adler32")},
|
||||
"IPL.bin gained an Adler-32 hash; the FAQ says it has none",
|
||||
"IPL.bin", carriers,
|
||||
"IPL.bin gained an Adler-32 hash; the docs say it has none",
|
||||
)
|
||||
for page in ("faq.md", "profiling.md"):
|
||||
text = (ROOT / "wiki" / page).read_text(encoding="utf-8")
|
||||
for line in text.splitlines():
|
||||
if "Adler-32" in line or "adler32" in line:
|
||||
self.assertNotIn(
|
||||
"IPL", line,
|
||||
f"wiki/{page} ties Adler-32 back to IPL: {line.strip()}",
|
||||
)
|
||||
|
||||
def test_existence_platforms_are_not_told_the_verbose_report_is_the_only_check(self):
|
||||
self.assertIn(
|
||||
|
||||
Reference in new issue
Block a user