Completed Task

This commit is contained in:
Ben Adams 2021-01-03 22:53:13 +00:00
parent cf4ce5d5a2
commit 42b64441a1

View File

@ -127,7 +127,7 @@ namespace Ben.Demystifier.Test
{ {
Func<Task> action = async () => Func<Task> action = async () =>
{ {
await Task.Delay(0); await Task.CompletedTask;
throw new ArgumentException(); throw new ArgumentException();
}; };