mirror of
https://github.com/typesense/typesense.git
synced 2025-05-28 09:46:05 +08:00
adding stats size assert for int64 fields test
This commit is contained in:
parent
2646c7762a
commit
a0358fcb08
@ -288,6 +288,7 @@ TEST_F(CollectionFacetingTest, FacetCounts) {
|
||||
ASSERT_STREQ("1421890022", results["facet_counts"][0]["counts"][0]["value"].get<std::string>().c_str());
|
||||
ASSERT_STREQ("<mark>142189002</mark>2", results["facet_counts"][0]["counts"][0]["highlighted"].get<std::string>().c_str());
|
||||
|
||||
ASSERT_EQ(1, results["facet_counts"][0]["stats"].size());
|
||||
ASSERT_FLOAT_EQ(1, results["facet_counts"][0]["stats"]["total_values"].get<size_t>());
|
||||
|
||||
// facet query that does not match any indexed value
|
||||
|
Loading…
x
Reference in New Issue
Block a user