Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Feb 17, 2025
1 parent 89c7b53 commit 2cc3f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/esaulpaugh/headlong/abi/ABIJSONTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ public void optimizeJson() {
@Test
public void testMisc() throws Throwable {

assertEquals("", new ABIParser(ABIType.FLAG_LEGACY_DECODE, ABIJSON.FUNCTIONS).toString());
assertEquals("ABIParser{flags=1, types=[function, receive, fallback, constructor]}", new ABIParser(ABIType.FLAG_LEGACY_DECODE, ABIJSON.FUNCTIONS).toString());

Function c = Function.parse("c(int,bool,(string,bytes),address,address,uint,uint8,int8,uint32,bytes32)", "()");
String json = c.toJson(false).replace("\"bool\"", "\"bool\",\"m11\":1,\"internalType\":\"\"").replace("[]}", "null,\"moo\":null}");
Expand Down

0 comments on commit 2cc3f42

Please sign in to comment.