From c164ba0b9486e0a559ed4daa076416cd9f81962f Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Wed, 7 Oct 2009 17:02:55 +1000 Subject: Fix test --- tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(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) -- cgit v0.12