Skip to content

Commit e3627e6

Browse files
committed
update: cargo fmt
1 parent fa24fbc commit e3627e6

File tree

1 file changed

+3
-10
lines changed
  • madara/crates/client/gateway/client/src

1 file changed

+3
-10
lines changed

madara/crates/client/gateway/client/src/retry.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,9 @@ mod tests {
218218
];
219219

220220
for (code, name) in test_cases {
221-
let error = SequencerError::StarknetError(StarknetError {
222-
code,
223-
message: format!("{} error", name),
224-
});
225-
226-
assert!(
227-
!GatewayRetryState::is_retryable(&error),
228-
"{} should not be retryable",
229-
name
230-
);
221+
let error = SequencerError::StarknetError(StarknetError { code, message: format!("{} error", name) });
222+
223+
assert!(!GatewayRetryState::is_retryable(&error), "{} should not be retryable", name);
231224
}
232225
}
233226
}

0 commit comments

Comments
 (0)