diff --git a/src/test/TranslationsTest/tst_buitinregexp.cpp b/src/test/TranslationsTest/tst_buitinregexp.cpp index b37055451..a24030283 100644 --- a/src/test/TranslationsTest/tst_buitinregexp.cpp +++ b/src/test/TranslationsTest/tst_buitinregexp.cpp @@ -108,7 +108,7 @@ void TST_BuitInRegExp::TestCheckIsNamesUnique_data() for (const auto &key : keys) { const QString tag = QString("Locale: '%1'. Name '%2'").arg(m_locale, key); - QTest::newRow(qUtf8Printable(tag)) << key << names.values(key); + QTest::newRow(qUtf8Printable(tag)) << key << QStringList(names.values(key)); } } diff --git a/src/test/TranslationsTest/tst_measurementregexp.cpp b/src/test/TranslationsTest/tst_measurementregexp.cpp index ac2e92e81..3c29d4004 100644 --- a/src/test/TranslationsTest/tst_measurementregexp.cpp +++ b/src/test/TranslationsTest/tst_measurementregexp.cpp @@ -137,7 +137,7 @@ void TST_MeasurementRegExp::TestCheckIsNamesUnique_data() for (const auto &key : keys) { const QString tag = QString("System: '%1', locale: '%2'. Name '%3'").arg(m_system, m_locale, key); - QTest::newRow(qUtf8Printable(tag)) << key << names.values(key); + QTest::newRow(qUtf8Printable(tag)) << key << QStringList(names.values(key)); } }