Skip to content

Commit

Permalink
Update failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgi committed Sep 29, 2023
1 parent 8d98c36 commit c44678f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDB.NET.Test/DuckDBDataReaderListTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ public void ReadListOfIntegersWithNulls()
{
reader.Read();
var list = reader.GetFieldValue<List<int?>>(0);
list.Should().BeEquivalentTo(new List<int> { 1, 2, 3 });
list.Should().BeEquivalentTo(new List<int?> { 1, 2, null, 3, null });

reader.Read();
list = reader.GetFieldValue<List<int?>>(0);
list.Should().BeEquivalentTo(new List<int> { 4, 5 });
list.Should().BeEquivalentTo(new List<int?> { null, null, 4, 5 });

reader.Read();
reader.IsDBNull(0).Should().BeTrue();
Expand Down

0 comments on commit c44678f

Please sign in to comment.