From b5e9cc7a846ca98dca675ab415745c00d9ccecba Mon Sep 17 00:00:00 2001 From: Martin Taillefer Date: Fri, 9 Feb 2024 14:55:41 -0800 Subject: [PATCH] Remove broken and superfluous test case (#4934) Co-authored-by: Martin Taillefer --- .../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() {