Switch from async void to async Task (#8722)

This commit is contained in:
Javier Calvarro Nelson 2018-11-13 12:26:08 -08:00 committed by GitHub
parent 5ed7658bf2
commit bf8058da25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
}
[Fact]
public async void AggregateException_FlattensInnerExceptions()
public async Task AggregateException_FlattensInnerExceptions()
{
// Arrange
var aggregateException = "AggregateException: One or more errors occurred.";

View File

@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers
}
[Fact]
public async void ProcessAsync_InvokesComponentsProcessAsyncInCorrectOrder()
public async Task ProcessAsync_InvokesComponentsProcessAsyncInCorrectOrder()
{
// Arrange
var tagHelperContext = new TagHelperContext(