Tests: Fix dumper tests on macOS

Change-Id: I7827245017c285ff7c9eb4799a7b340061f3c4af
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2022-11-11 15:25:39 +01:00
parent a44bd1643b
commit a6774dbad5

View File

@@ -1849,7 +1849,7 @@ void tst_Dumpers::dumper()
} else if (m_debuggerEngine == LldbEngine) {
//qCDebug(lcDumpers).noquote() << "GOT OUTPUT: " << output;
int pos = output.indexOf("data=[{");
int pos = output.indexOf("data=[");
QVERIFY(pos != -1);
output = output.mid(pos);
contents = output;