diff --git a/src/rust/cctrusted_vm/src/sdk.rs b/src/rust/cctrusted_vm/src/sdk.rs index f81096f..4bf8025 100644 --- a/src/rust/cctrusted_vm/src/sdk.rs +++ b/src/rust/cctrusted_vm/src/sdk.rs @@ -716,7 +716,8 @@ mod sdk_api_tests { let replay_results = match API::replay_cc_eventlog(event_logs) { Ok(r) => r, Err(e) => { - assert_eq!(true, format!("{:?}", e).is_empty()); + // This is the expected behavior. Invalid log is not replayed. + assert_ne!(true, format!("{:?}", e).is_empty()); return; } };