test(credits-screen): Update test assertions to validate new credits data structure in test_credits_screen.gd

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-04-29 09:53:33 -07:00
parent e24034ac25
commit 425d4ebafe

View file

@ -29,13 +29,13 @@ func test_credits_json_has_required_sections() -> void:
if section_variant is Dictionary:
var section: Dictionary = section_variant
headings.append(str(section.get("heading", "")))
# Acceptance: engine, fonts, contributors, crates all covered.
# Acceptance: third-party attribution sections present (engine, fonts).
# Internal modules are not credits — see commit removing the
# "Rust Simulation Crates" section.
assert_true(_headings_contain(headings, "engine"),
"credits must include an Engine section")
assert_true(_headings_contain(headings, "font"),
"credits must include a Fonts section")
assert_true(_headings_contain(headings, "rust"),
"credits must include a Rust crates section")
func test_credits_sections_have_entries() -> void: