Skip to content

Commit 500f8f3

Browse files
committed
Try ignoring whitespace
1 parent c76d336 commit 500f8f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.Tests/Transformers/Implementations/OpenApiSchemaReferenceTransformerTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ await VerifyOpenApiDocument(builder, document =>
535535
}
536536
}
537537
}
538-
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
538+
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);
539539

540540
writer = new StringWriter();
541541
openApiWriter = new OpenApiJsonWriter(writer);
@@ -553,7 +553,7 @@ await VerifyOpenApiDocument(builder, document =>
553553
}
554554
}
555555
}
556-
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
556+
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);
557557
});
558558
}
559559

@@ -600,7 +600,7 @@ await VerifyOpenApiDocument(builder, document =>
600600
}
601601
}
602602
}
603-
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
603+
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);
604604

605605
writer = new StringWriter();
606606
openApiWriter = new OpenApiJsonWriter(writer);
@@ -622,7 +622,7 @@ await VerifyOpenApiDocument(builder, document =>
622622
}
623623
}
624624
}
625-
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
625+
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);
626626
});
627627
}
628628

0 commit comments

Comments
 (0)