Skip to content

Commit 656259a

Browse files
committed
Fix failing tests
1 parent 2e2ad57 commit 656259a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Microsoft.OpenApi.Readers.Tests/V31Tests/OpenApiSchemaTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public void SerializeV3SchemaWithNullableAsV31Works()
337337
{
338338
// Arrange
339339
var expected = @"type:
340-
- null
340+
- 'null'
341341
- string";
342342

343343
var path = Path.Combine(SampleFolderPath, "schemaWithNullable.yaml");
@@ -357,7 +357,7 @@ public void SerializeV2SchemaWithNullableExtensionAsV31Works()
357357
{
358358
// Arrange
359359
var expected = @"type:
360-
- null
360+
- 'null'
361361
- string
362362
x-nullable: true";
363363

0 commit comments

Comments
 (0)