diff --git a/vm/gas-algebra-ext/src/params.rs b/vm/gas-algebra-ext/src/params.rs index e97bbb2ace..872a96ee7e 100644 --- a/vm/gas-algebra-ext/src/params.rs +++ b/vm/gas-algebra-ext/src/params.rs @@ -88,12 +88,14 @@ mod tests { #[test] fn optional_should_be_honored() { - assert!(matches!( - GasParameters::from_on_chain_gas_schedule( - &[("test.foo".to_string(), 0)].into_iter().collect(), - ), - Some(_) - )); + assert!( + matches!( + GasParameters::from_on_chain_gas_schedule( + &[("test.foo".to_string(), 0)].into_iter().collect(), + ), + Some(_) + ) + ); assert!(matches!( GasParameters::from_on_chain_gas_schedule(&[].into_iter().collect()),