Package org.assertj.core.error
Class ShouldBeEqualIgnoringWhitespace
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeEqualIgnoringWhitespace
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are equal, ignoring whitespace
differences, failed.- Author:
- Alexander Bischof
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeEqualIgnoringWhitespace
(CharSequence actual, CharSequence expected) Creates a new
.ShouldBeEqualIgnoringWhitespace
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeEqualIgnoringWhitespace
public static ErrorMessageFactory shouldBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected) Creates a new
.ShouldBeEqualIgnoringWhitespace
- Parameters:
actual
- the actual value in the failed assertion.expected
- the expected value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-