Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jun 8, 2018
1 parent f96a45d commit 546daeb
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ class TestHelpers {
}

static generatedXmlIsTheSameAsExpectedXml(String expectedXmlResource, Document generatedXml) {
def diffs = DiffBuilder.compare(Input.fromStream(this.getResourceAsStream(expectedXmlResource))).withTest(Input.fromDocument
(generatedXml))
.ignoreComments().ignoreWhitespace().build().differences

!DiffBuilder.compare(Input.fromStream(this.getResourceAsStream(expectedXmlResource))).withTest(Input.fromDocument(generatedXml))
.ignoreComments().ignoreWhitespace().build().hasDifferences()
}
Expand Down

0 comments on commit 546daeb

Please sign in to comment.