Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 8530d62

Browse files
author
Lakshmi Priya Sekar
committed
Make assert condition more generic.
1 parent 9c66dd0 commit 8530d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public async Task SslStream_NetworkStream_Renegotiation_Succeeds()
106106

107107
// Do another Read, to get the HTTP response from the server, after successful renegotiation.
108108
bytesRead = await ssl.ReadAsync(message, 0, message.Length);
109-
Assert.Equal(84, bytesRead);
109+
Assert.True(bytesRead > 0);
110110
Assert.Contains("HTTP/1.1 200 OK", Encoding.UTF8.GetString(message));
111111
}
112112
}

0 commit comments

Comments
 (0)