From 1d1ea2fa2489e817538a2f7109b9687e1d72bbdf Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Fri, 31 Mar 2017 18:08:15 +0300 Subject: [core] fixup stale constants references in test fixtures --- test/fixtures/style_parser/colors.info.json | 1 + test/fixtures/style_parser/colors.style.json | 11 +++-------- test/fixtures/style_parser/stop-zoom-value.style.json | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) (limited to 'test') diff --git a/test/fixtures/style_parser/colors.info.json b/test/fixtures/style_parser/colors.info.json index 9c25a2f488..82f93d299b 100644 --- a/test/fixtures/style_parser/colors.info.json +++ b/test/fixtures/style_parser/colors.info.json @@ -1,6 +1,7 @@ { "default": { "log": [ + [2, "WARNING", "ParseStyle", "value must be a valid color"] ] } } diff --git a/test/fixtures/style_parser/colors.style.json b/test/fixtures/style_parser/colors.style.json index 8996548885..7bec578df1 100644 --- a/test/fixtures/style_parser/colors.style.json +++ b/test/fixtures/style_parser/colors.style.json @@ -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" } }] } diff --git a/test/fixtures/style_parser/stop-zoom-value.style.json b/test/fixtures/style_parser/stop-zoom-value.style.json index 520db9a904..b96736535b 100644 --- a/test/fixtures/style_parser/stop-zoom-value.style.json +++ b/test/fixtures/style_parser/stop-zoom-value.style.json @@ -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]] } -- cgit v1.2.1