style(import-fifa17): rustfmt the club-family classifier and its tests

This commit is contained in:
funman300
2026-08-21 20:47:05 +00:00
parent 4b66906adc
commit 43aa114bcd
2 changed files with 16 additions and 18 deletions
+6 -9
View File
@@ -775,10 +775,7 @@ fn club_item_missing_render_metadata_defers() {
let plan = plan_non_player_definitions(&profile(&[item], "[]", 100000600));
assert!(plan.supported.is_empty());
assert_eq!(plan.deferred.len(), 1);
assert_eq!(
plan.deferred[0].reason,
"missing_club_item_render_metadata"
);
assert_eq!(plan.deferred[0].reason, "missing_club_item_render_metadata");
// Correct kit art, but no team: the kit identity resolver keys on teamid.
let item = r#"{"id":100000502,"resourceId":6300007,"assetId":6300007,
@@ -794,10 +791,7 @@ fn club_item_missing_render_metadata_defers() {
.to_string();
let plan = plan_non_player_definitions(&profile(&[item], "[]", 100000600));
assert!(plan.supported.is_empty());
assert_eq!(
plan.deferred[0].reason,
"missing_club_item_render_metadata"
);
assert_eq!(plan.deferred[0].reason, "missing_club_item_render_metadata");
}
/// Club items are settled by `cardsubtypeid`, not by the id range they occupy.
@@ -820,7 +814,10 @@ fn every_club_family_classifies_and_imports() {
club(100000505, 8_010_001, 31, 40), // league logo
];
let counts = count_items(&profile(&items, "[]", 100000600));
assert_eq!(counts.club_items, 5, "no club family falls through to Other");
assert_eq!(
counts.club_items, 5,
"no club family falls through to Other"
);
assert_eq!(counts.other, 0);
let plan = plan_non_player_definitions(&profile(&items, "[]", 100000600));