[build] upgrade to variant 1.1.4 and dependencies
This commit is contained in:
@@ -42,7 +42,7 @@ TEST(Filter, EqualsNumber) {
|
||||
ASSERT_FALSE(f(feature({{ "foo", std::string("0") }})));
|
||||
ASSERT_FALSE(f(feature({{ "foo", false }})));
|
||||
ASSERT_FALSE(f(feature({{ "foo", true }})));
|
||||
ASSERT_FALSE(f(feature({{ "foo", nullptr }})));
|
||||
ASSERT_FALSE(f(feature({{ "foo", mapbox::geometry::null_value }})));
|
||||
ASSERT_FALSE(f(feature({{}})));
|
||||
}
|
||||
|
||||
@@ -113,13 +113,13 @@ TEST(Filter, NotHas) {
|
||||
|
||||
TEST(Filter, ID) {
|
||||
Feature feature1 { Point<double>() };
|
||||
feature1.id = { 1234 };
|
||||
feature1.id = { uint64_t(1234) };
|
||||
|
||||
ASSERT_TRUE(parse("[\"==\", \"$id\", 1234]")(feature1));
|
||||
ASSERT_FALSE(parse("[\"==\", \"$id\", \"1234\"]")(feature1));
|
||||
|
||||
Feature feature2 { Point<double>() };
|
||||
feature2.properties["id"] = { 1234 };
|
||||
feature2.properties["id"] = { uint64_t(1234) };
|
||||
|
||||
ASSERT_FALSE(parse("[\"==\", \"$id\", 1234]")(feature2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user