File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
deep_causality/tests/types/csm_types Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments