Skip to content

Commit eb80632

Browse files
committed
add test case
1 parent 3c2e822 commit eb80632

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

test/integration/style-spec/tests/sources.input.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,16 @@
7474
"url": "https://demotiles.maplibre.org/tiles/tiles.json",
7575
"encoding": "mvt"
7676
},
77-
"source-vector-mlt": {
77+
"source-vector-mlt-tilejson": {
7878
"type": "vector",
7979
"url": "https://demotiles.maplibre.org/tiles/tiles.json",
8080
"encoding": "mlt"
8181
},
82+
"source-vector-mlt-tiles": {
83+
"type": "vector",
84+
"url": "https://demotiles.maplibre.org/tiles/tiles/{z}/{x}/{y}.mlt",
85+
"encoding": "mlt"
86+
},
8287
"source-vector-custom": {
8388
"type": "vector",
8489
"url": "https://demotiles.maplibre.org/tiles/tiles.json",

test/integration/style-spec/tests/sources.output.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@
4141
},
4242
{
4343
"message": "sources.source-vector-custom.encoding: expected one of [mvt, mlt], \"custom\" found",
44-
"line": 85
44+
"line": 90
4545
},
4646
{
4747
"message": "sources.source-vector-blank.encoding: expected one of [mvt, mlt], \"\" found",
48-
"line": 90
48+
"line": 95
4949
},
5050
{
5151
"message": "sources.source-vector-numeric.encoding: expected one of [mvt, mlt], 3 found",
52-
"line": 95
52+
"line": 100
5353
},
5454
{
5555
"message": "sources.source-vector-array.encoding: expected one of [mvt, mlt], [\"mvt\"] found",
56-
"line": 100
56+
"line": 105
5757
}
5858
]

0 commit comments

Comments
 (0)