We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3213a40 commit 285fae4Copy full SHA for 285fae4
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataReaderTest/DataReaderTest.cs
@@ -563,10 +563,18 @@ integrated into a comprehensive development
563
command.CommandText = $"SELECT Data FROM [{tableName}] ORDER BY Id";
564
using (var reader = await command.ExecuteReaderAsync())
565
{
566
+ string expectedResult = null;
567
while (await reader.ReadAsync())
568
569
var result = reader.GetString(0);
- Assert.Equal(xml, result);
570
+ if (expectedResult == null)
571
+ {
572
+ expectedResult = result;
573
+ }
574
+ else
575
576
+ Assert.Equal(expectedResult, result);
577
578
id++;
579
}
580
0 commit comments