diff options
author | Lucas Wojciechowski <lucas@mapbox.com> | 2015-08-24 13:37:59 -0700 |
---|---|---|
committer | Lucas Wojciechowski <lucas@mapbox.com> | 2015-08-24 14:22:02 -0700 |
commit | 648b5879599f6587eb7df36b4e951ec761c6437a (patch) | |
tree | cbc06076b8c2d44292fbf8b3f48095dcc7320f28 /test | |
parent | c6aee1aadd333b75bc669d3a62d7009fd875a281 (diff) | |
download | qtlocation-mapboxgl-648b5879599f6587eb7df36b4e951ec761c6437a.tar.gz |
Fixed missing labels and icons
Diffstat (limited to 'test')
-rw-r--r-- | test/miscellaneous/mapbox.cpp | 1 |
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"); } |