style(adapter): rustfmt catalog test assertions
Trailing rustfmt reflow of two catalog unit-test assertions (no logic change); clears the adapter dirty state so verify-build-identity.sh passes for the UTAS A/B.
This commit is contained in:
@@ -296,9 +296,15 @@ mod tests {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let cat = Fifa17CardCatalog::from_file(&path).expect("load committed catalog");
|
let cat = Fifa17CardCatalog::from_file(&path).expect("load committed catalog");
|
||||||
assert!(cat.len() > 17_000, "full FIFA17 base pool, got {}", cat.len());
|
assert!(
|
||||||
|
cat.len() > 17_000,
|
||||||
|
"full FIFA17 base pool, got {}",
|
||||||
|
cat.len()
|
||||||
|
);
|
||||||
// Ronaldo (asset 20801), version 0 => resource_id == asset_id.
|
// Ronaldo (asset 20801), version 0 => resource_id == asset_id.
|
||||||
let ron = cat.lookup("fifa17_20801").expect("known base asset present");
|
let ron = cat
|
||||||
|
.lookup("fifa17_20801")
|
||||||
|
.expect("known base asset present");
|
||||||
assert_eq!(ron.asset_id, 20801);
|
assert_eq!(ron.asset_id, 20801);
|
||||||
assert_eq!(ron.version, 0);
|
assert_eq!(ron.version, 0);
|
||||||
assert_eq!(ron.resource_id, 20801);
|
assert_eq!(ron.resource_id, 20801);
|
||||||
|
|||||||
Reference in New Issue
Block a user