summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-07 07:02:55 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-07 07:02:55 (GMT)
commitc164ba0b9486e0a559ed4daa076416cd9f81962f (patch)
treebde2940ef1ec4c810acd5322a12160eaf478017e /tests/auto
parenta3a6e1622149654bc9e244e685e8e7dcbdf966b2 (diff)
downloadQt-c164ba0b9486e0a559ed4daa076416cd9f81962f.zip
Qt-c164ba0b9486e0a559ed4daa076416cd9f81962f.tar.gz
Qt-c164ba0b9486e0a559ed4daa076416cd9f81962f.tar.bz2
Fix test
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp b/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp
index c7f0424..34fa5e9 100644
--- a/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp
+++ b/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp
@@ -679,7 +679,8 @@ void tst_qmlecmascript::objectToString()
MyQmlObject *object = qobject_cast<MyQmlObject*>(component.create());
QVERIFY(object != 0);
QMetaObject::invokeMethod(object, "testToString");
- QVERIFY(object->stringProperty().startsWith("Qml Object, \"objName\" MyQmlObject_QML_15"));
+ QVERIFY(object->stringProperty().startsWith("MyQmlObject_QML_"));
+ QVERIFY(object->stringProperty().endsWith(", \"objName\")"));
}
QTEST_MAIN(tst_qmlecmascript)