public class StringNormalizeLineBreaks extends org.hamcrest.TypeSafeMatcher<String>
Matcher that normalizes line-breaks on the String being matched.
For example, in Windows, the line-break character, configured in System.getProperty("line.separator") is "\r\n" ;
while on linux-based systems it's "\n".| Constructor and Description |
|---|
StringNormalizeLineBreaks(org.hamcrest.Matcher<String> innerMatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(String aString) |
static org.hamcrest.Matcher<String> |
normalizeLineBreaks(org.hamcrest.Matcher<String> innerMatcher) |
describeMismatch, describeMismatchSafely, matchespublic StringNormalizeLineBreaks(org.hamcrest.Matcher<String> innerMatcher)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.