Skip to content

Commit 64f0ca3

Browse files
committed
avoid line feed mix
1 parent c8ea834 commit 64f0ca3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/groovy/com/github/hauner/openapi/json/processor/JsonProcessorSpec.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ class JsonProcessorSpec extends Specification {
4848
if (e != a) {
4949
printUnifiedDiff(new File(expJson), new File(targetPath))
5050
}
51-
e == a
51+
52+
e.replace('\r', '') == a.replace('\r', '')
5253
}
5354

5455
private void printUnifiedDiff (File expected, File generated) {

0 commit comments

Comments
 (0)