public class IsEqualIgnoringLineBreaks extends org.hamcrest.TypeSafeMatcher<String>
String is equal to another string, regardless of the line breaks,helpful when dealing with
cross-platform tests| Constructor and Description |
|---|
IsEqualIgnoringLineBreaks(String string) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(String item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<String> |
equalToIgnoringLineBreaks(String expectedString) |
boolean |
matchesSafely(String item) |
public IsEqualIgnoringLineBreaks(String string)
public boolean matchesSafely(String item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<String>public void describeMismatchSafely(String item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<String>public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.