AutoTest: Fix regular expression

All test cases are surrounded by the quotes and the
quotes themselves do not belong to the test case name.

Change-Id: Ie38b0bbaed915ea38f8bd11174510c5096de3de8
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-05-24 14:51:56 +02:00
parent 29f597d13b
commit 07b1d2aa56

View File

@@ -89,7 +89,7 @@ static QString caseFromContent(const QString &content)
}
QString result = content.mid(index + 5);
static QRegularExpression functionName("([^\\s]+):.*");
static QRegularExpression functionName("\"(.+)\":.*");
const QRegularExpressionMatch matcher = functionName.match(result);
if (!matcher.hasMatch()) {
qCDebug(orLog) << "got no match";