Skip to content

Commit fd77d82

Browse files
Deprecate isXmlEqualToContentOf in favor of XML Unit
1 parent 52c6a28 commit fd77d82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/assertj/core/api/AbstractCharSequenceAssert.java

+1
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,7 @@ public SELF isXmlEqualTo(CharSequence expectedXml) {
11911191
* @throws AssertionError if the actual {@code CharSequence} is {@code null} or is not the same XML as the content of
11921192
* given {@code File}.
11931193
*/
1194+
@Deprecated
11941195
public SELF isXmlEqualToContentOf(File xmlFile) {
11951196
isXmlEqualTo(contentOf(xmlFile));
11961197
return myself;

0 commit comments

Comments
 (0)