diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-08-14 08:53:02 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-08-14 11:51:50 -0700 |
commit | 23c01a9a95021a7f6c01a9dadf008667038bfb89 (patch) | |
tree | 1e4f3e071ca9d339df3b71a61aa320f9d1715906 | |
parent | 4ec5b2967a951fe190be042bee0c0eac74659aa0 (diff) | |
download | qtlocation-mapboxgl-23c01a9a95021a7f6c01a9dadf008667038bfb89.tar.gz |
add test for comparing filter name to id
-rw-r--r-- | test/style/filter.test.cpp | 4 |
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"])"); +} |