diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-29 15:46:59 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-05-29 15:57:06 +0200 |
commit | a48a1397b3742310dda0cfc4994fc274359d9022 (patch) | |
tree | 3de9acabe0a2de966ee86e5c5e60d755b44b4aee /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | |
parent | cc3b137edccc22f9eafb3a255a306abc18f89fea (diff) |
Fix tst_qqmlecmascript::switchStatement()
Adjust the expected error message output to include the column number
instead of just the line number.
Change-Id: Ie8064d6a26f875d8da5b0d68c503d632b6afc69e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index 4e50184930..f3383f6e77 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -6634,7 +6634,7 @@ void tst_qqmlecmascript::switchStatement() { QQmlComponent component(&engine, testFileUrl("switchStatement.4.qml")); - QString warning = component.url().toString() + ":4: Unable to assign [undefined] to int"; + QString warning = component.url().toString() + ":4:12: Unable to assign [undefined] to int"; QTest::ignoreMessage(QtWarningMsg, qPrintable(warning)); MyQmlObject *object = qobject_cast<MyQmlObject *>(component.create()); |