summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"])");
+}