From fe7654d26707308490c9c7035148a28e2e2f32ec Mon Sep 17 00:00:00 2001 From: Martin Taillefer Date: Fri, 9 Feb 2024 06:37:43 -0800 Subject: [PATCH] Remove broken and superfluous test case --- .../FakeTimeProviderTests.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.Tests/FakeTimeProviderTests.cs b/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.Tests/FakeTimeProviderTests.cs index 055ac5dc496..b7c70a715ae 100644 --- a/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.Tests/FakeTimeProviderTests.cs +++ b/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.Tests/FakeTimeProviderTests.cs @@ -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(() => timeProvider.Delay(TimeSpan.FromTicks(-1), CancellationToken.None)); - _ = Assert.ThrowsAsync(() => timeProvider.Delay(_infiniteTimeout, CancellationToken.None)); - } - [Fact] public async Task Delay_Zero() {