summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
Diffstat (limited to 'test/style')
-rw-r--r--test/style/glyph_store.cpp2
-rw-r--r--test/style/source.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/style/glyph_store.cpp b/test/style/glyph_store.cpp
index 2a874a05a7..08ec6902b9 100644
--- a/test/style/glyph_store.cpp
+++ b/test/style/glyph_store.cpp
@@ -110,7 +110,7 @@ TEST(GlyphStore, LoadingCorrupted) {
EXPECT_EQ(glyphRange, GlyphRange(0, 255));
EXPECT_TRUE(error != nullptr);
- EXPECT_EQ(util::toString(error), "pbf unknown field type exception");
+ EXPECT_EQ(util::toString(error), "unknown pbf field type exception");
auto glyphSet = test.glyphStore.getGlyphSet({{"Test Stack"}});
ASSERT_TRUE(glyphSet->getSDFs().empty());
diff --git a/test/style/source.cpp b/test/style/source.cpp
index 5ec2714b43..7964a05814 100644
--- a/test/style/source.cpp
+++ b/test/style/source.cpp
@@ -269,7 +269,7 @@ TEST(Source, VectorTileCorrupt) {
test.observer.tileError = [&] (Source& source, const TileID& tileID, std::exception_ptr error) {
EXPECT_EQ(source.type, SourceType::Vector);
EXPECT_EQ(std::string(tileID), "0/0/0");
- EXPECT_EQ(util::toString(error), "pbf unknown field type exception");
+ EXPECT_EQ(util::toString(error), "unknown pbf field type exception");
test.end();
};