Skip to content

Commit

Permalink
add extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fslevoaca-ionos committed Apr 20, 2021
1 parent 4356c92 commit cc5e13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/jtest/utils/matcher/StringMatcherTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ public void testPropertiesGeneratorFromJson() throws InvalidTypeException {
@Test
public void compareRegexWithPositiveLookAhead() throws InvalidTypeException {
String expected = "(?=.*(zzz\n|ipsum l)).*";
String actual = "some\n ipsum lorem and\n more";
String actual = "some ipsum lorem and\n more";
new StringMatcher(null, expected, actual, null).match();
expected = "(?=.*lorem).*\n(?=.*ipsum l).*";
expected = "(?=.*lorem.*\n)(?=.*ipsum l).*";
new StringMatcher(null, expected, actual, null).match();

}
Expand Down

0 comments on commit cc5e13d

Please sign in to comment.