[tests] Accept [C|c]onnect as error message

Qt will spit "Connect" instead of "connect"
This commit is contained in:
Thiago Marcos P. Santos
2016-04-20 18:17:28 +03:00
parent 7821e21631
commit a0146e372f

View File

@@ -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();
});