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:16:10 -0700 |
commit | 16e6ca86faad8527af529b3a6de0751dbac447d6 (patch) | |
tree | abe2f2edad819345d0c47dcd95519b9b1e5d2cc3 /test/style | |
parent | 60cbedc344eff10df0069a9d243a555dc59992ee (diff) | |
download | qtlocation-mapboxgl-16e6ca86faad8527af529b3a6de0751dbac447d6.tar.gz |
[core] add test for comparing filter name to id
Diffstat (limited to 'test/style')
-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"])"); +} |