Skip to content

Commit a22ac92

Browse files
Fix test
Parse the document invariantly.
1 parent cd8d13b commit a22ac92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Validations/Rules/OpenApiDocumentRules.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static class OpenApiDocumentRules
4141

4242
JsonNode document;
4343

44-
using (var textWriter = new System.IO.StringWriter())
44+
using (var textWriter = new System.IO.StringWriter(System.Globalization.CultureInfo.InvariantCulture))
4545
{
4646
var writer = new OpenApiJsonWriter(textWriter);
4747

0 commit comments

Comments
 (0)