QmlProfiler: Fix unit test execution

Adjust to changed message - otherwise we get millions
of fails on macOS. Amends 0f2febd784.

Change-Id: If9a4c453ae952e708c873c4b11f550aa6632bbd5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2018-06-14 08:25:39 +02:00
parent b870f01d11
commit a8e5b9e509

View File

@@ -88,7 +88,7 @@ void QmlProfilerTraceClientTest::testMessageReceived()
traceClient.clear();
}, [this, &lastError](const QString &message) {
QVERIFY(!message.isEmpty());
if (lastError == QmlProfilerModelManager::tr("Read past end in temporary trace file")) {
if (lastError == QmlProfilerModelManager::tr("Read past end in temporary trace file.")) {
// Ignore read-past-end errors: Our test traces are somewhat dirty and don't end on
// packet boundaries
modelManager.clearAll();