Skip to content

Commit b895d2d

Browse files
committed
Uncomment and remove commented code
1 parent d98b2bc commit b895d2d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/CompletenessTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,6 @@ await SnapshotTestHelper.VerifyOpenApi(compilation, document =>
516516
Assert.Equal("This class validates the behavior for mapping\ngeneric types to open generics for use in\ntypeof expressions.", genericParent.Description, ignoreLineEndingDifferences: true);
517517
Assert.Equal("This property is a nullable value type.", genericParent.Properties["id"].Description);
518518
Assert.Equal("This property is a nullable reference type.", genericParent.Properties["name"].Description);
519-
//Assert.Equal("This property is a generic type containing a tuple.", genericParent.Properties["taskOfTupleProp"].Description);
520-
//Assert.Equal("This property is a tuple with a generic type inside.", genericParent.Properties["tupleWithGenericProp"].Description);
521-
//Assert.Equal("This property is a tuple with a nested generic type inside.", genericParent.Properties["tupleWithNestedGenericProp"].Description);
522519

523520
path = document.Paths["/params-and-param-refs"].Operations[HttpMethod.Post];
524521
var paramsAndParamRefs = path.RequestBody.Content["application/json"].Schema;

src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/SchemaTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ await SnapshotTestHelper.VerifyOpenApi(compilation, document =>
425425
var modelWithoutSummary = document.Components.Schemas["ModelWithoutSummary"];
426426
Assert.Null(modelWithoutSummary.Description);
427427

428-
//Assert.DoesNotContain("ModelInline", document.Components.Schemas.Keys);
428+
Assert.DoesNotContain("ModelInline", document.Components.Schemas.Keys);
429429
Assert.Equal("Comment on property FirstModelInline.", rootModelSchema.Properties["firstModelInline"].Description);
430430
Assert.Equal("Comment on property SecondModelInline.", rootModelSchema.Properties["secondModelInline"].Description);
431431
});

0 commit comments

Comments
 (0)