summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-08-14 08:53:02 -0700
committerKonstantin Käfer <mail@kkaefer.com>2018-08-14 11:51:50 -0700
commit23c01a9a95021a7f6c01a9dadf008667038bfb89 (patch)
tree1e4f3e071ca9d339df3b71a61aa320f9d1715906
parent4ec5b2967a951fe190be042bee0c0eac74659aa0 (diff)
downloadqtlocation-mapboxgl-23c01a9a95021a7f6c01a9dadf008667038bfb89.tar.gz
add test for comparing filter name to id
-rw-r--r--test/style/filter.test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/style/filter.test.cpp b/test/style/filter.test.cpp
index e04a569203..9678fe0895 100644
--- a/test/style/filter.test.cpp
+++ b/test/style/filter.test.cpp
@@ -251,3 +251,7 @@ TEST(Filter, ZoomExpressionNested) {
TEST(Filter, Internal) {
filter(R"(["filter-==","class","snow"])");
}
+
+TEST(Filter, Short) {
+ filter(R"(["==", ["id"], "foo"])");
+}