diff --git a/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj b/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj index 66018e46e00f0..a7ef3b5ec87c7 100644 --- a/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj +++ b/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj @@ -143,7 +143,6 @@ diff --git a/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicPlatformDetectionTests.cs b/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicPlatformDetectionTests.cs index 2d0bc54044556..1fbc8ecfb57ba 100644 --- a/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicPlatformDetectionTests.cs +++ b/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicPlatformDetectionTests.cs @@ -19,5 +19,12 @@ public void UnsupportedPlatforms_ThrowsPlatformNotSupportedException() Assert.ThrowsAsync(async () => await CreateQuicListener()); Assert.ThrowsAsync(async () => await CreateQuicConnection(new IPEndPoint(IPAddress.Loopback, 0))); } + + [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsWindows), nameof(PlatformDetection.SupportsTls13))] + public void SupportedWindowsPlatforms_IsSupportedIsTrue() + { + Assert.True(QuicListener.IsSupported); + Assert.True(QuicConnection.IsSupported); + } } }