Switch from async void to async Task (#8722)
This commit is contained in:
parent
5ed7658bf2
commit
bf8058da25
|
|
@ -127,7 +127,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void AggregateException_FlattensInnerExceptions()
|
public async Task AggregateException_FlattensInnerExceptions()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var aggregateException = "AggregateException: One or more errors occurred.";
|
var aggregateException = "AggregateException: One or more errors occurred.";
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void ProcessAsync_InvokesComponentsProcessAsyncInCorrectOrder()
|
public async Task ProcessAsync_InvokesComponentsProcessAsyncInCorrectOrder()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var tagHelperContext = new TagHelperContext(
|
var tagHelperContext = new TagHelperContext(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue