From b5839fe06ba186a43685e7ebb2417675d92d099c Mon Sep 17 00:00:00 2001 From: Anand Thakker Date: Thu, 5 Apr 2018 15:33:02 -0400 Subject: [PATCH] Add variations to constant expression test Refs mapbox/mapbox-gl-native#10849 --- .../regressions/mapbox-gl-native#10849/style.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/render-tests/regressions/mapbox-gl-native#10849/style.json b/test/integration/render-tests/regressions/mapbox-gl-native#10849/style.json index a523d5b7cd1..ff1a5dc3344 100644 --- a/test/integration/render-tests/regressions/mapbox-gl-native#10849/style.json +++ b/test/integration/render-tests/regressions/mapbox-gl-native#10849/style.json @@ -27,6 +27,10 @@ "layout": { "text-field": "ABCD", "text-font": ["array", "string", ["literal", ["Open Sans Semibold", "Arial Unicode MS Bold"]]] + }, + "paint": { + "text-color": ["get", "color", ["literal", {"color": "black"}]], + "text-opacity": ["let", "opacity", 1, ["var", "opacity"]] } }] }