Skip to content

Commit

Permalink
Remove broken and superfluous test case (#4934)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Taillefer <mataille@microsoft.com>
  • Loading branch information
geeknoid and Martin Taillefer authored Feb 9, 2024
1 parent 55aeea9 commit b5e9cc7
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ public void ToStr()

private readonly TimeSpan _infiniteTimeout = TimeSpan.FromMilliseconds(-1);

[Fact]
public void Delay_InvalidArgs()
{
var timeProvider = new FakeTimeProvider();
_ = Assert.ThrowsAsync<ArgumentOutOfRangeException>(() => timeProvider.Delay(TimeSpan.FromTicks(-1), CancellationToken.None));
_ = Assert.ThrowsAsync<ArgumentOutOfRangeException>(() => timeProvider.Delay(_infiniteTimeout, CancellationToken.None));
}

[Fact]
public async Task Delay_Zero()
{
Expand Down

0 comments on commit b5e9cc7

Please # to comment.