summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 10:56:51 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 11:25:45 -0700
commit9d3c4fbbb05d37802ebc15210b041392b4d48f15 (patch)
tree2f4638ebcff4cc50a08c73ed6587a53c7014bcf0 /test
parent9dfcb95e4fe333922306eadd4df5cbde2f03a6c1 (diff)
downloadqtlocation-mapboxgl-9d3c4fbbb05d37802ebc15210b041392b4d48f15.tar.gz
[core] Push Source::url down to subclasses
Diffstat (limited to 'test')
-rw-r--r--test/style/source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/source.cpp b/test/style/source.cpp
index 7a574e9e51..82763c99f1 100644
--- a/test/style/source.cpp
+++ b/test/style/source.cpp
@@ -82,7 +82,7 @@ TEST(Source, LoadingFail) {
};
test.observer.sourceError = [&] (Source& source, std::exception_ptr error) {
- EXPECT_EQ("url", source.url);
+ EXPECT_EQ("source", source.id);
EXPECT_EQ("Failed by the test case", util::toString(error));
test.end();
};
@@ -105,7 +105,7 @@ TEST(Source, LoadingCorrupt) {
};
test.observer.sourceError = [&] (Source& source, std::exception_ptr error) {
- EXPECT_EQ("url", source.url);
+ EXPECT_EQ("source", source.id);
EXPECT_EQ("0 - Invalid value.", util::toString(error));
test.end();
};