Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e99d702

Browse files
authored
Merge pull request #210 from f-lopes/fix-compare-assert-assertj-usage
Fix assertj usage in CompareAssert helper
2 parents d0029bd + 45bf4ec commit e99d702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xmlunit-assertj3/src/main/java/org/xmlunit/assertj3/CompareAssert.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
import static org.xmlunit.diff.DifferenceEvaluators.chain;
4444

4545
/**
46-
* Assertion methods for XMLs comparision.
46+
* Assertion methods for XMLs comparison.
4747
*
4848
* <p><b>Simple Example</b></p>
4949
*
@@ -388,7 +388,7 @@ private void failComparison(final String type, final String controlSystemId,
388388
description, expected, actual)
389389
.replace("%", "%%"); // any remaining '%' signs should be escaped because assertj tries to format this as well.
390390

391-
failWithActualExpectedAndMessage(expected, actual, msg);
391+
failWithActualExpectedAndMessage(actual, expected, msg);
392392
}
393393

394394
}

0 commit comments

Comments
 (0)