Skip to content

Commit 195131b

Browse files
committed
Linting
Signed-off-by: Marvin Hansen <[email protected]>
1 parent a4ca539 commit 195131b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

deep_causality/tests/types/csm_types/csm_tests.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,7 @@ fn eval_single_state_error_action_fails() {
416416

417417
assert!(res.is_err());
418418
let err_msg = res.unwrap_err().0;
419-
assert!(err_msg.contains(&format!(
420-
"CSM[eval]: Failed to fire action for state {id}"
421-
)));
419+
assert!(err_msg.contains(&format!("CSM[eval]: Failed to fire action for state {id}")));
422420
}
423421

424422
// I've renamed the original test to be more descriptive.
@@ -498,9 +496,7 @@ fn eval_all_states_error_action_fails() {
498496

499497
assert!(res.is_err());
500498
let err_msg = res.unwrap_err().0;
501-
assert!(err_msg.contains(&format!(
502-
"CSM[eval]: Failed to fire action for state {id}"
503-
)));
499+
assert!(err_msg.contains(&format!("CSM[eval]: Failed to fire action for state {id}")));
504500
}
505501

506502
// New test for the third error branch: non-deterministic effect.

0 commit comments

Comments
 (0)