diff options
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/source.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index feb7b6b05a..6bb18d188b 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -388,8 +388,8 @@ TEST(Source, RasterTileAttribution) { return response; }; - test.observer.sourceAttributionChanged = [&] (Source&, std::string attribution) { - EXPECT_EQ(mapboxOSM, attribution); + test.observer.sourceChanged = [&] (Source& source) { + EXPECT_EQ(mapboxOSM, source.getAttribution()); EXPECT_FALSE(mapboxOSM.find("©️ OpenStreetMap") == std::string::npos); test.end(); }; |