Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Dimitrov <[email protected]>
  • Loading branch information
dimitrovmaksim committed May 13, 2023
1 parent 5738062 commit 9f0391f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unit_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ mod tests {

#[test]
#[serial]
#[should_panic(expected = "🆘")]
#[should_panic(expected = "Aborted by `log.critical` with message: log message")]
fn log_panic_test() {
let mut context = get_context();

let message = asc_string_from_str("log message");
let message = asc_string_from_str("Aborted by `log.critical` with message: log message");
let pointer = AscPtr::alloc_obj(message, &mut context.wasm_ctx, &GasCounter::new())
.expect("Couldn't create pointer.");

Expand Down

0 comments on commit 9f0391f

Please sign in to comment.