Skip to content

Commit

Permalink
Merge pull request #210 from f-lopes/fix-compare-assert-assertj-usage
Browse files Browse the repository at this point in the history
Fix assertj usage in CompareAssert helper
  • Loading branch information
bodewig committed Dec 21, 2020
2 parents d0029bd + 45bf4ec commit e99d702
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -43,7 +43,7 @@
import static org.xmlunit.diff.DifferenceEvaluators.chain;

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

failWithActualExpectedAndMessage(expected, actual, msg);
failWithActualExpectedAndMessage(actual, expected, msg);
}

}

0 comments on commit e99d702

Please sign in to comment.