Skip to content

Commit

Permalink
Difference in regex escaping #55
Browse files Browse the repository at this point in the history
  • Loading branch information
aeberhart committed Oct 13, 2024
1 parent cc2eb33 commit c748a76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/java/com/dashjoin/jsonata/StringTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,11 @@ public void evalTest() {
+ " $eval('$data.Wert1')\n"
+ ")").evaluate(null));
}

@Disabled
@Test
public void replaceTest() {
Assertions.assertEquals("http://example.org/test",
jsonata("$replace($, /{par}/, '')").evaluate("http://example.org/test{par}"));
}
}

0 comments on commit c748a76

Please sign in to comment.