summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-03 12:27:14 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:49:17 +0200
commit3ceabcd3ec91dbd9458d3c5b78fb12c3182636e1 (patch)
treeb8be2ac790afce844178a314b42683ab9d06f744 /test/style
parentd7aaf83421261087a99d18d92eca9637c1bf72f8 (diff)
downloadqtlocation-mapboxgl-3ceabcd3ec91dbd9458d3c5b78fb12c3182636e1.tar.gz
[core] clang-tidy fixes
Diffstat (limited to 'test/style')
-rw-r--r--test/style/filter.test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/style/filter.test.cpp b/test/style/filter.test.cpp
index ef38a1a789..40219108bb 100644
--- a/test/style/filter.test.cpp
+++ b/test/style/filter.test.cpp
@@ -117,10 +117,10 @@ TEST(Filter, EqualsType) {
ASSERT_TRUE(filter(f, {{}}, {}, FeatureType::LineString, {}));
ASSERT_FALSE(filter(f, {{}}, {}, FeatureType::Point, {}));
- invalidFilter("[\"==\", \"$type\"]");
- invalidFilter("[\"==\", \"$type\", null]");
- invalidFilter("[\"==\", \"$type\", \"foo\", 1]");
- invalidFilter("[\"==\", \"$type\", \"foo\", \"Point\"]");
+ invalidFilter(R"(["==", "$type"])");
+ invalidFilter(R"(["==", "$type", null])");
+ invalidFilter(R"(["==", "$type", "foo", 1])");
+ invalidFilter(R"(["==", "$type", "foo", "Point"])");
}
TEST(Filter, InType) {