Skip to content

Commit 1df4e52

Browse files
authored
Fix test causing assert (#117507)
1 parent 1fd2ed8 commit 1df4e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.Http2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public async Task ConnectAsync_Http11WithRequestVersionOrHigher_DowngradeSuccess
244244
}
245245
}
246246

247-
[Fact]
247+
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.SupportsAlpn))]
248248
[SkipOnPlatform(TestPlatforms.Browser, "System.Net.Sockets is not supported on this platform")]
249249
public async Task ConnectAsync_Http11WithRequestVersionOrHigher_Loopback_Success()
250250
{

0 commit comments

Comments
 (0)