add function type fixture

This commit is contained in:
Mike Morris
2014-07-18 18:01:23 -04:00
parent 58a9ec3092
commit 7fd5de7104
4 changed files with 27 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
{
"default": {
"log": [
[1, "WARNING", "ParseStyle", "function must specify a function type"]
]
}
}

View File

@@ -0,0 +1,20 @@
{
"version": 3,
"sources": {
"mapbox": {
"type": "vector",
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5",
"maxZoom": 14
}
},
"layers": [{
"id": "waterway_river_canal",
"source": "mapbox",
"source-layer": "waterway",
"filter": { "type": ["river", "canal"] },
"type": "line",
"style": {
"line-width": {}
}
}]
}

View File

@@ -1,8 +0,0 @@
{
"default": {
"log": [
[28, "WARNING", "ParseStyle", "stop must have zoom level and value specification"],
[12, "WARNING", "ParseStyle", "function must specify a function type"]
]
}
}

File diff suppressed because one or more lines are too long