Skip to content

Commit

Permalink
Remove ConfigureAwait in test
Browse files Browse the repository at this point in the history
This satisfies xUnit1030, and the ConfigureAwait does not seem to be vital to the test
  • Loading branch information
Hugo Woodiwiss committed Sep 18, 2023
1 parent d4b3285 commit 7db24da
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ public async Task CanStoreAndRetrieveAsync()
var accessor = MakeAccessor();
accessor.MessageContext = data;

await Task.Delay(250)
.ConfigureAwait(false);
await Task.Delay(250);

AssertSame(data, accessor.MessageContext);
}
Expand Down Expand Up @@ -124,4 +123,4 @@ private static IMessageContextAccessor MakeAccessor()
{
return new MessageContextAccessor();
}
}
}

0 comments on commit 7db24da

Please sign in to comment.