Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
geofjamg committed Aug 21, 2017
1 parent 6cef087 commit 27a28c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void tearDown() throws IOException {
protected static void compareXml(InputStream expected, InputStream actual) {
Source control = Input.fromStream(expected).build();
Source test = Input.fromStream(actual).build();
Diff myDiff = DiffBuilder.compare(control).withTest(test).ignoreWhitespace().build();
Diff myDiff = DiffBuilder.compare(control).withTest(test).ignoreWhitespace().ignoreComments().build();
boolean hasDiff = myDiff.hasDifferences();
if (hasDiff) {
System.err.println(myDiff.toString());
Expand Down

0 comments on commit 27a28c0

Please sign in to comment.