From 7d16824fda7086fbeb0a1deae3fc0abdf0c4832d Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 30 Nov 2016 10:17:47 -0800 Subject: [core] Functions must have at least one stop This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too. --- test/fixtures/style_parser/stop-zoom-value.info.json | 1 + 1 file changed, 1 insertion(+) (limited to 'test/fixtures/style_parser') diff --git a/test/fixtures/style_parser/stop-zoom-value.info.json b/test/fixtures/style_parser/stop-zoom-value.info.json index 386dce9d29..39d7c68495 100644 --- a/test/fixtures/style_parser/stop-zoom-value.info.json +++ b/test/fixtures/style_parser/stop-zoom-value.info.json @@ -1,6 +1,7 @@ { "default": { "log": [ + [1, "WARNING", "ParseStyle", "function must have at least one stop"], [1, "WARNING", "ParseStyle", "function stop must have two elements"] ] } -- cgit v1.2.1