[core] fixup stale constants references in test fixtures
This commit is contained in:
committed by
Ivo van Dongen
parent
705caf0f26
commit
1d1ea2fa24
1
test/fixtures/style_parser/colors.info.json
vendored
1
test/fixtures/style_parser/colors.info.json
vendored
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"default": {
|
||||
"log": [
|
||||
[2, "WARNING", "ParseStyle", "value must be a valid color"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
11
test/fixtures/style_parser/colors.style.json
vendored
11
test/fixtures/style_parser/colors.style.json
vendored
@@ -1,10 +1,5 @@
|
||||
{
|
||||
"version": 8,
|
||||
"constants": {
|
||||
"@land": "r44,239,225)",
|
||||
"@snow": "f4f8foNGbjf#",
|
||||
"@crop": "#eerLznieed4"
|
||||
},
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
"type": "vector",
|
||||
@@ -16,7 +11,7 @@
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "@land"
|
||||
"background-color": "rgb(44,239,225)"
|
||||
}
|
||||
}, {
|
||||
"id": "landcover_snow",
|
||||
@@ -25,7 +20,7 @@
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "snow"],
|
||||
"paint": {
|
||||
"fill-color": "@snow"
|
||||
"fill-color": "f4f8foNGbjf#"
|
||||
}
|
||||
}, {
|
||||
"id": "landcover_crop",
|
||||
@@ -34,7 +29,7 @@
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "crop"],
|
||||
"paint": {
|
||||
"fill-color": "@crop"
|
||||
"fill-color": "#eerLznieed4"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "wood"],
|
||||
"paint": {
|
||||
"fill-color": "@wood",
|
||||
"fill-color": "#001100",
|
||||
"fill-opacity": {
|
||||
"stops": [[12, 1], [13, 0.8], [16, 0.2]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user