diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/installer/scriptengine/tst_scriptengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp index ccb785b70..830067af0 100644 --- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp +++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp @@ -366,8 +366,8 @@ private slots: testComponent->loadComponentScript(":///data/component2.qs"); } catch (const Error &error) { const QString debugMessage( - "create Error-Exception: \"Exception while loading the component script \"" - ":///data/component2.qs\": ReferenceError: broken is not defined\""); + QString("create Error-Exception: \"Exception while loading the component script \"%1\": " + "ReferenceError: broken is not defined\"").arg(QDir::toNativeSeparators(":///data/component2.qs"))); QVERIFY2(debugMessage.contains(error.message()), "(ReferenceError: broken is not defined)"); } } |