style(fifa17): cargo fmt match wire + host match integration
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user