Skip to content

Commit

Permalink
Update EthCallIT.java
Browse files Browse the repository at this point in the history
  • Loading branch information
gtebrean committed Aug 31, 2023
1 parent 4d68975 commit 4ac9ab4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

@EVMTest(type = NodeType.COMPOSE)
@EVMTest(type = NodeType.GETH)
public class EthCallIT extends Scenario {

private static Revert contract;
Expand Down Expand Up @@ -67,7 +67,7 @@ public void testRevertWithoutMessage() throws Exception {
public void testRevertWithMessage() throws Exception {
EthCall ethCall = ethCall(BigInteger.valueOf(2L));
assertTrue(ethCall.isReverted());
assertTrue(ethCall.getRevertReason().endsWith("VM execution error."));
assertTrue(ethCall.getRevertReason().endsWith("execution reverted:"));
}

private EthCall ethCall(BigInteger value) throws java.io.IOException {
Expand Down

0 comments on commit 4ac9ab4

Please sign in to comment.