Fix qqmlecmascript::nonExistentAttachedObject
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 7 Jun 2013 18:09:55 +0000 (20:09 +0200)
committerLars Knoll <lars.knoll@digia.com>
Sat, 8 Jun 2013 20:34:02 +0000 (22:34 +0200)
Add column to the expected error message output

Change-Id: I585fdcedd7a78f1a208770765851f04ee5a5b207
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp

index bb38b85..e586fbc 100644 (file)
@@ -1173,7 +1173,7 @@ void tst_qqmlecmascript::nonExistentAttachedObject()
 {
     QQmlComponent component(&engine, testFileUrl("nonExistentAttachedObject.qml"));
 
-    QString warning = component.url().toString() + ":4: Unable to assign [undefined] to QString";
+    QString warning = component.url().toString() + ":4:21: Unable to assign [undefined] to QString";
     QTest::ignoreMessage(QtWarningMsg, qPrintable(warning));
 
     QObject *object = component.create();