Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Dec 26, 2024
1 parent 00eef9d commit 9b774a8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions vm/gas-algebra-ext/src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 9b774a8

Please sign in to comment.