summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-08-13 15:29:44 -0700
committerChris Loer <chris.loer@mapbox.com>2018-10-15 13:15:46 -0700
commitfed55418f21719149e510a6c49836ba58a5da2c2 (patch)
tree0d809e274f88bdbfea96b20c2a2d20ff2f56fb81 /test
parent4a0aab8eb8754b2773cc29baa2c1b7d3ff01b336 (diff)
downloadqtlocation-mapboxgl-fed55418f21719149e510a6c49836ba58a5da2c2.tar.gz
[core,test] Update expression style parsing test fixture.
Always clear errors before trying automatic coercion for a new compound expression overload.
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/style_parser/expressions.info.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixtures/style_parser/expressions.info.json b/test/fixtures/style_parser/expressions.info.json
index 4649227934..75fb70c1d2 100644
--- a/test/fixtures/style_parser/expressions.info.json
+++ b/test/fixtures/style_parser/expressions.info.json
@@ -2,7 +2,7 @@
"default": {
"log": [
[1, "WARNING", "ParseStyle", "Expected color but found number instead."],
- [1, "WARNING", "ParseStyle", "[2]: Expected number but found string instead."],
+ [1, "WARNING", "ParseStyle", "Expected arguments of type (number, number, number, number), but found (number, string, number, number) instead."],
[1, "WARNING", "ParseStyle", "\"zoom\" expression may only be used as input to a top-level \"step\" or \"interpolate\" expression."],
[1, "WARNING", "ParseStyle", "value must be a string"],
[1, "WARNING", "ParseStyle", "data expressions not supported"],