Skip to content

Commit 5cd6f83

Browse files
committed
Make integration test pass on latest Rust
1 parent 04a0e52 commit 5cd6f83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/hackatom/tests/integration.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,8 @@ fn execute_panic() {
453453
match execute_res.unwrap_err() {
454454
VmError::RuntimeErr { msg, .. } => {
455455
assert!(
456-
msg.contains("Aborted: panicked at 'This page intentionally faulted'"),
456+
msg.contains("Aborted: panicked")
457+
&& msg.contains("This page intentionally faulted"),
457458
"Must contain panic message"
458459
);
459460
assert!(msg.contains("contract.rs:"), "Must contain file and line");

0 commit comments

Comments
 (0)