Switch async void to async Task (#527)

This commit is contained in:
Javier Calvarro Nelson 2018-11-13 11:09:56 -08:00 committed by GitHub
parent c9a53b9067
commit cfdbbdec15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Tests
}
[Fact]
public async void Invoke_WithNonMatchingPath_IgnoresRequest()
public async Task Invoke_WithNonMatchingPath_IgnoresRequest()
{
// Arrange
var elmStore = new ElmStore();
@ -68,7 +68,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Tests
}
[Fact]
public async void Invoke_WithMatchingPath_FulfillsRequest()
public async Task Invoke_WithMatchingPath_FulfillsRequest()
{
// Arrange
var elmStore = new ElmStore();
@ -116,7 +116,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Tests
}
[Fact]
public async void Invoke_BadRequestShowsError()
public async Task Invoke_BadRequestShowsError()
{
// Arrange
var elmStore = new ElmStore();