diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-10-18 18:41:59 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-10-23 12:23:40 +0200 |
commit | 8bf66ef7a71ea220f2ed30ddd7feda28805dde41 (patch) | |
tree | 9d12b8b9c40b76a5334d00b145931151accdbb8e /test | |
parent | 70d5972e104aac91f4198540d4af14562e92d555 (diff) | |
download | qtlocation-mapboxgl-8bf66ef7a71ea220f2ed30ddd7feda28805dde41.tar.gz |
[core] remove some uses of <iostream> and <sstream>
Diffstat (limited to 'test')
-rw-r--r-- | test/map/map.test.cpp | 2 | ||||
-rw-r--r-- | test/style/source.test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp index cd15c5c278..a21f9c7e75 100644 --- a/test/map/map.test.cpp +++ b/test/map/map.test.cpp @@ -237,7 +237,7 @@ TEST(Map, SetStyleInvalidJSON) { auto observer = Log::removeObserver(); auto flo = static_cast<FixtureLogObserver*>(observer.get()); EXPECT_EQ(1u, flo->count({ EventSeverity::Error, Event::ParseStyle, -1, - "Failed to parse style: 0 - Invalid value." })); + "Failed to parse style: Invalid value. at offset 0" })); auto unchecked = flo->unchecked(); EXPECT_TRUE(unchecked.empty()) << unchecked; } diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index 6cb01146f6..abd4350231 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -127,7 +127,7 @@ TEST(Source, LoadingCorrupt) { test.styleObserver.sourceError = [&] (Source& source, std::exception_ptr error) { EXPECT_EQ("source", source.getID()); - EXPECT_EQ("0 - Invalid value.", util::toString(error)); + EXPECT_EQ("Invalid value. at offset 0", util::toString(error)); test.end(); }; |