We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a0e52 commit 5cd6f83Copy full SHA for 5cd6f83
contracts/hackatom/tests/integration.rs
@@ -453,7 +453,8 @@ fn execute_panic() {
453
match execute_res.unwrap_err() {
454
VmError::RuntimeErr { msg, .. } => {
455
assert!(
456
- msg.contains("Aborted: panicked at 'This page intentionally faulted'"),
+ msg.contains("Aborted: panicked")
457
+ && msg.contains("This page intentionally faulted"),
458
"Must contain panic message"
459
);
460
assert!(msg.contains("contract.rs:"), "Must contain file and line");
0 commit comments