diff --git a/crates/cheatcodes/src/test/expect.rs b/crates/cheatcodes/src/test/expect.rs index 4dc53550832c..80d2417ec375 100644 --- a/crates/cheatcodes/src/test/expect.rs +++ b/crates/cheatcodes/src/test/expect.rs @@ -555,7 +555,7 @@ pub(crate) fn handle_expect_revert( } }; - ensure!(!matches!(status, return_ok!()), "call did not revert as expected"); + ensure!(!matches!(status, return_ok!()), "next call did not revert as expected"); // If None, accept any revert let Some(expected_revert) = expected_revert else {