summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLucas Wojciechowski <lucas@mapbox.com>2015-08-24 13:37:59 -0700
committerLucas Wojciechowski <lucas@mapbox.com>2015-08-24 14:22:02 -0700
commit648b5879599f6587eb7df36b4e951ec761c6437a (patch)
treecbc06076b8c2d44292fbf8b3f48095dcc7320f28 /test
parentc6aee1aadd333b75bc669d3a62d7009fd875a281 (diff)
downloadqtlocation-mapboxgl-648b5879599f6587eb7df36b4e951ec761c6437a.tar.gz
Fixed missing labels and icons
Diffstat (limited to 'test')
-rw-r--r--test/miscellaneous/mapbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/miscellaneous/mapbox.cpp b/test/miscellaneous/mapbox.cpp
index f1febd729b..a0f9208298 100644
--- a/test/miscellaneous/mapbox.cpp
+++ b/test/miscellaneous/mapbox.cpp
@@ -14,6 +14,7 @@ TEST(Mapbox, SourceURL) {
}
TEST(Mapbox, GlyphsURL) {
+ EXPECT_EQ(mbgl::util::mapbox::normalizeGlyphsURL("mapbox://fonts/boxmap/Comic%20Sans/0-255.pbf", "key"), "https://api.mapbox.com/fonts/v1/boxmap/Comic%20Sans/0-255.pbf?access_token=key");
EXPECT_EQ(mbgl::util::mapbox::normalizeGlyphsURL("mapbox://fonts/boxmap/{fontstack}/{range}.pbf", "key"), "https://api.mapbox.com/fonts/v1/boxmap/{fontstack}/{range}.pbf?access_token=key");
EXPECT_EQ(mbgl::util::mapbox::normalizeGlyphsURL("http://path", "key"), "http://path");
}