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:
parent
e24034ac25
commit
425d4ebafe
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue