summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-17 11:10:46 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-21 17:36:56 +0200
commitc1a410be8bb135883d73c5937f2c6b22b3d31ed7 (patch)
tree40401155593795feb9886a5eb75a1b3c08a33ed1 /test/style
parent24198ebca86cbe1329a1854f080e3f4638973142 (diff)
downloadqtlocation-mapboxgl-c1a410be8bb135883d73c5937f2c6b22b3d31ed7.tar.gz
[core] s/onSourceDidChange/onSourceChanged/ + source ref
Diffstat (limited to 'test/style')
-rw-r--r--test/style/source.test.cpp4
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();
};