Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Switch from async void to async Task (#8722)
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercn committed Nov 13, 2018
1 parent 5ed7658 commit bf8058d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -127,7 +127,7 @@ public async Task LoaderExceptionsFromReflectionTypeLoadExceptionsAreListed()
}

[Fact]
public async void AggregateException_FlattensInnerExceptions()
public async Task AggregateException_FlattensInnerExceptions()
{
// Arrange
var aggregateException = "AggregateException: One or more errors occurred.";
Expand Down
Expand Up @@ -69,7 +69,7 @@ public void Init_InvokesComponentsInitInCorrectOrder()
}

[Fact]
public async void ProcessAsync_InvokesComponentsProcessAsyncInCorrectOrder()
public async Task ProcessAsync_InvokesComponentsProcessAsyncInCorrectOrder()
{
// Arrange
var tagHelperContext = new TagHelperContext(
Expand Down

0 comments on commit bf8058d

Please sign in to comment.