Skip to content

Test failure: no exception in ResultsOfTResult1TResult2_Throws_InvalidOperationException_WhenResultIsNull  #57360

Closed
@akoeplinger

Description

@akoeplinger

While looking at #57303 I discovered the ResultsOfTResult1TResult2_Throws_InvalidOperationException_WhenResultIsNull and other related tests from src/Http/Http.Results/test/ResultsOfTTests.Generated.cs don't actually throw an InvalidOperationException, but no exception at all.

We didn't notice because we didn't await the Assert.ThrowsAsync.

Filing this issue for tracking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etc

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions