diff options
Diffstat (limited to 'tests/auto/installer')
-rw-r--r-- | tests/auto/installer/settings/tst_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp index 8ff5329a1..07ff374a6 100644 --- a/tests/auto/installer/settings/tst_settings.cpp +++ b/tests/auto/installer/settings/tst_settings.cpp @@ -117,13 +117,13 @@ void tst_Settings::loadNotExistingConfig() if (!file.open(QIODevice::ReadOnly)) { errorString = file.errorString(); } - QTest::ignoreMessage(QtDebugMsg, QString::fromLatin1("create Error-Exception: \"Could not open" + QTest::ignoreMessage(QtDebugMsg, QString::fromLatin1("create Error-Exception: \"Cannot open" " settings file %1 for reading: %2\"") .arg(configFile).arg(errorString).toLatin1()); try { Settings::fromFileAndPrefix(configFile, ":/data"); } catch (const Error &error) { - QCOMPARE(error.message(), QString::fromLatin1("Could not open settings file " + QCOMPARE(error.message(), QString::fromLatin1("Cannot open settings file " "%1 for reading: %2").arg(configFile).arg(errorString)); return; } |