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:16:10 -0700
commit16e6ca86faad8527af529b3a6de0751dbac447d6 (patch)
treeabe2f2edad819345d0c47dcd95519b9b1e5d2cc3
parent60cbedc344eff10df0069a9d243a555dc59992ee (diff)
downloadqtlocation-mapboxgl-16e6ca86faad8527af529b3a6de0751dbac447d6.tar.gz
[core] 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"])");
+}