summaryrefslogtreecommitdiff
path: root/test/fixtures/style_parser/paint-nonobject.style.json
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-01-23 12:58:09 -0800
committerKonstantin Käfer <mail@kkaefer.com>2018-01-23 13:45:14 -0800
commitd4ed8d1a4474e43241e42610001403261353466f (patch)
treed8f11a733ef28fe44e40d3dfbb6fcbe1d5a41a68 /test/fixtures/style_parser/paint-nonobject.style.json
parentf3294200c6c866e5ab031ad8346c59a76aa37249 (diff)
downloadqtlocation-mapboxgl-d4ed8d1a4474e43241e42610001403261353466f.tar.gz
[core] fix style parsing crash when a layer's paint property is not an object
Diffstat (limited to 'test/fixtures/style_parser/paint-nonobject.style.json')
-rw-r--r--test/fixtures/style_parser/paint-nonobject.style.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/fixtures/style_parser/paint-nonobject.style.json b/test/fixtures/style_parser/paint-nonobject.style.json
new file mode 100644
index 0000000000..24ec89eda5
--- /dev/null
+++ b/test/fixtures/style_parser/paint-nonobject.style.json
@@ -0,0 +1,8 @@
+{
+ "version": 8,
+ "layers": [{
+ "id": "background",
+ "type": "background",
+ "paint": true
+ }]
+}