Fix test
parent
2d674999f0
commit
bc27f6c0d8
|
@ -20,15 +20,6 @@ namespace NetCoreTests
|
||||||
await ThrowOrValueAsync().AsUniTask();
|
await ThrowOrValueAsync().AsUniTask();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
|
||||||
public async Task PropagateWhenAllException()
|
|
||||||
{
|
|
||||||
await Assert.ThrowsAsync<InvalidOperationException>(async () =>
|
|
||||||
{
|
|
||||||
await Task.WhenAll(ThrowAsync(), ThrowAsync(), ThrowAsync()).AsUniTask();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
async Task ThrowAsync()
|
async Task ThrowAsync()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue