Skip to content

Commit 0b47bdd

Browse files
authored
Change error line to NotNull in SearchTests.cs (#100)
Update SearchTests.cs Change error line to NotNull(info.MaxDocId)
1 parent 43f03d5 commit 0b47bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/NRedisStack.Tests/Search/SearchTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ public void AlterAdd()
670670
Assert.Equal("TAG", (info.Attributes[1]["type"]).ToString());
671671
Assert.Equal("name", (info.Attributes[2]["attribute"]).ToString());
672672
Assert.Equal(100, info.NumDocs);
673-
Assert.Equal("300", info.MaxDocId);
673+
Assert.NotNull(info.MaxDocId);
674674
Assert.Equal(102, info.NumTerms);
675675
Assert.True(info.NumRecords >= 800); // TODO: should this be 800 or 802?
676676
Assert.True(info.InvertedSzMebibytes < 1); // TODO: check this line and all the <1 lines
@@ -1933,4 +1933,4 @@ public void TestModulePrefixs1()
19331933
conn.Dispose();
19341934
}
19351935
}
1936-
}
1936+
}

0 commit comments

Comments
 (0)