style(fifa17): cargo fmt match wire + host match integration

This commit is contained in:
funman300
2026-08-20 17:59:03 +00:00
parent 56bd9ddc85
commit afa5f620bd
4 changed files with 17 additions and 8 deletions
@@ -436,8 +436,10 @@ fn case_d_two_market_buyers(h: &Harness) -> String {
"POST",
"/ut/game/fifa17/auctionhouse",
&[],
format!(r#"{{"itemData":{{"id":{item_id}}},"buyNowPrice":1000,"startingBid":500}}"#)
.as_bytes(),
format!(
r#"{{"itemData":{{"id":{item_id}}},"buyNowPrice":1000,"startingBid":500}}"#
)
.as_bytes(),
None,
)
.expect("list routed");
@@ -165,7 +165,10 @@ fn seed_and_exercise(base: &str) -> i64 {
let mb: Value = serde_json::from_slice(&m.body).unwrap();
assert_eq!(mb["matchCoins"], 400, "flat match coins");
let after_match = client.balance().unwrap();
assert!(after_match >= before_match + 400, "match credited at least +400");
assert!(
after_match >= before_match + 400,
"match credited at least +400"
);
assert_eq!(
mb["allCoins"].as_i64().unwrap(),
after_match,