summaryrefslogtreecommitdiff
path: root/test/storage
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-22 10:38:42 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-22 15:53:18 -0700
commit5939dd5b412fcc1ef857711a137589aa865bd442 (patch)
tree4bd4e021ea564ee262cff56ab7b6f76e98b29471 /test/storage
parentd77e35b6866e461c3cb05de2112d548be4ef7780 (diff)
downloadqtlocation-mapboxgl-5939dd5b412fcc1ef857711a137589aa865bd442.tar.gz
[core] Use the proper type for font stacks
Diffstat (limited to 'test/storage')
-rw-r--r--test/storage/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/resource.cpp b/test/storage/resource.cpp
index 0b04c1b3e4..5d6c3bcbf2 100644
--- a/test/storage/resource.cpp
+++ b/test/storage/resource.cpp
@@ -40,7 +40,7 @@ TEST(Resource, Tile) {
TEST(Resource, Glyphs) {
using namespace mbgl;
- Resource resource = Resource::glyphs("http://example.com/{fontstack}/{range}", "stack", {0, 255});
+ Resource resource = Resource::glyphs("http://example.com/{fontstack}/{range}", {{"stack"}}, {0, 255});
EXPECT_EQ(Resource::Kind::Glyphs, resource.kind);
EXPECT_EQ("http://example.com/stack/0-255", resource.url);
}