Skip to content

Commit

Permalink
test(cast): fix test stderr_eq for send custom error
Browse files Browse the repository at this point in the history
  • Loading branch information
rplusq committed Sep 26, 2024
1 parent 62e596f commit 7d04af4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions crates/cast/tests/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,8 +1329,7 @@ casttest!(send_custom_error, async |prj, cmd| {
let contract_address = address.trim();

// Call the function that always reverts
cmd
.cast_fuse()
cmd.cast_fuse()
.args([
"send",
contract_address,
Expand All @@ -1349,11 +1348,7 @@ Reverted with custom error:
------------
[000]: 0000000000000000000000000000000000000000000000000000000000000065
[020]: 0000000000000000000000000000000000000000000000000000000000000064
Context:
- server returned an error response: error code 3: execution reverted: custom error 0x7a0e1985: ed, data: "0x7a0e198500000000000000000000000000000000000000000000000000000000000000650000000000000000000000000000000000000000000000000000000000000064"
...
"#]]);
});

Expand Down

0 comments on commit 7d04af4

Please sign in to comment.