test: define final character HUD contracts

This commit is contained in:
goose
2026-10-09 12:21:45 -04:00
parent 78f4744c3f
commit c410f830e3
7 changed files with 193 additions and 91 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ func test_hud_uses_french_spacing_for_focus_and_gold_labels() -> void:
game.get_run_state().gold = 42
hud.refresh(state, [], game.get_run_state())
assert_eq(hud.player_focus_label.text, "Focus : %d/%d" % [state.player.focus, state.player.max_focus])
assert_eq(hud.gold_label.text, "Or : 42")
assert_eq(hud.gold_label.text, "42")
func test_hud_keeps_the_domain_message_for_unknown_journal_event_kinds() -> void:
var game := GameScene.instantiate() as Game