Switch async void to async Task (#527)
This commit is contained in:
parent
c9a53b9067
commit
cfdbbdec15
|
|
@ -31,7 +31,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void Invoke_WithNonMatchingPath_IgnoresRequest()
|
public async Task Invoke_WithNonMatchingPath_IgnoresRequest()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var elmStore = new ElmStore();
|
var elmStore = new ElmStore();
|
||||||
|
|
@ -68,7 +68,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void Invoke_WithMatchingPath_FulfillsRequest()
|
public async Task Invoke_WithMatchingPath_FulfillsRequest()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var elmStore = new ElmStore();
|
var elmStore = new ElmStore();
|
||||||
|
|
@ -116,7 +116,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void Invoke_BadRequestShowsError()
|
public async Task Invoke_BadRequestShowsError()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var elmStore = new ElmStore();
|
var elmStore = new ElmStore();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue