summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@theqtcompany.com>2016-06-21 13:18:49 +0300
committerKatja Marttila <katja.marttila@qt.io>2016-06-21 12:05:57 +0000
commit810ea81009c594edb5f80110297e2562ca3c2b43 (patch)
tree671c121116d190894ed2c73cdccc13678175b179 /tests/auto/installer
parente87c58548ae1e412491210e1951a2527ac0ff381 (diff)
Fix settings test
Change-Id: Ifbb9aca0719e670026c6bde910430d96621dd61e Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'tests/auto/installer')
-rw-r--r--tests/auto/installer/settings/tst_settings.cpp4
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;
}