Skip to content

Commit

Permalink
Try ignoring whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
captainsafia committed Jan 10, 2025
1 parent c76d336 commit 500f8f3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ await VerifyOpenApiDocument(builder, document =>
}
}
}
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);

writer = new StringWriter();
openApiWriter = new OpenApiJsonWriter(writer);
Expand All @@ -553,7 +553,7 @@ await VerifyOpenApiDocument(builder, document =>
}
}
}
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);
});
}

Expand Down Expand Up @@ -600,7 +600,7 @@ await VerifyOpenApiDocument(builder, document =>
}
}
}
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);

writer = new StringWriter();
openApiWriter = new OpenApiJsonWriter(writer);
Expand All @@ -622,7 +622,7 @@ await VerifyOpenApiDocument(builder, document =>
}
}
}
""", serializedSchema, ignoreWhiteSpaceDifferences: true);
""", serializedSchema, ignoreAllWhiteSpace: true, ignoreLineEndingDifferences: true);
});
}

Expand Down

0 comments on commit 500f8f3

Please sign in to comment.