Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrourkeboll committed Jun 17, 2023
1 parent 3bbe1e7 commit 3fea9df
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public async Task MapAction_NoParam_FSharpAsyncReturn_NotCoercedToTaskAtCompileT

VerifyStaticEndpointModel(result, endpointModel =>
{
Assert.Equal("/", endpointModel.RoutePattern);
Assert.Equal("MapGet", endpointModel.HttpMethod);
Assert.False(endpointModel.Response.IsAwaitable);
});
Expand All @@ -70,7 +69,6 @@ public async Task MapAction_NoParam_TaskLikeOfUnitReturn_NotConvertedToVoidRetur

VerifyStaticEndpointModel(result, endpointModel =>
{
Assert.Equal("/", endpointModel.RoutePattern);
Assert.Equal("MapGet", endpointModel.HttpMethod);
Assert.True(endpointModel.Response.IsAwaitable);
});
Expand All @@ -79,6 +77,4 @@ public async Task MapAction_NoParam_TaskLikeOfUnitReturn_NotConvertedToVoidRetur
await endpoint.RequestDelegate(httpContext);
await VerifyResponseBodyAsync(httpContext, expectedBody: "null");
}


}

0 comments on commit 3fea9df

Please sign in to comment.