Skip to content

Commit

Permalink
try one more
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Apr 17, 2024
1 parent 0f612fd commit 867be6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/test/Apache.Arrow.Tests/ArrowReaderVerifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ private void CompareValidityBuffer(int nullCount, int arrayLength, ArrowBuffer e
{
Assert.True(expectedValidityBuffer.Span.SequenceEqual(actualValidityBuffer.Span));
}
else if (actualValidityBuffer.IsEmpty)
else if (actualValidityBuffer.IsEmpty || expectedValidityBuffer.IsEmpty || arrayLength == 0)
{
Assert.True(nullCount == 0 || arrayLength == 0);
}
Expand Down

0 comments on commit 867be6b

Please sign in to comment.