summaryrefslogtreecommitdiff
path: root/test/api
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 18:17:28 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 20:55:51 +0300
commita0146e372fe2a44d7eebe7bad9c1f65e18eac785 (patch)
treef1907a95a0f8f8a9737cc6c96ccd329386e0e402 /test/api
parent7821e216311a4ef4e9d51974bac09472b360f3c6 (diff)
downloadqtlocation-mapboxgl-a0146e372fe2a44d7eebe7bad9c1f65e18eac785.tar.gz
[tests] Accept [C|c]onnect as error message
Qt will spit "Connect" instead of "connect"
Diffstat (limited to 'test/api')
-rw-r--r--test/api/render_missing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/render_missing.cpp b/test/api/render_missing.cpp
index bb14416840..c0447d189e 100644
--- a/test/api/render_missing.cpp
+++ b/test/api/render_missing.cpp
@@ -47,7 +47,7 @@ TEST(API, TEST_REQUIRES_SERVER(RenderMissingTile)) {
std::rethrow_exception(err);
} catch (const std::exception& ex) {
message = ex.what();
- EXPECT_TRUE(message.find("connect") != std::string::npos);
+ EXPECT_TRUE(message.find("onnect") != std::string::npos); // [C|c]onnect
}
loop.stop();
});