diff --git a/crates/horizon-client/src/item_sync.rs b/crates/horizon-client/src/item_sync.rs index 2a57ef367..bbd8aec5c 100644 --- a/crates/horizon-client/src/item_sync.rs +++ b/crates/horizon-client/src/item_sync.rs @@ -304,7 +304,9 @@ mod tests { assert_eq!(cost.test(&payment), authoritative.test(&payment)); } assert!(cost.test(&ItemStack::new("minecraft:potion", 1).with_potion("minecraft:water"))); - assert!(!cost.test(&ItemStack::new("minecraft:potion", 1).with_potion("minecraft:swiftness"))); + assert!( + !cost.test(&ItemStack::new("minecraft:potion", 1).with_potion("minecraft:swiftness")) + ); let emerald = crate::merchant::ItemCost { stack: from_network( &decoded[0].cost_b.clone().unwrap().into(),