summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-08 23:17:32 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-08 23:17:32 (GMT)
commit407501ab9984f6d32d387928bdc2e48c91efc031 (patch)
tree6e91974a16e77d20f4fc78abf624c941f78cde36
parentfa8c4a6b548f16a2ee9ba296fa8374995ed7afb8 (diff)
downloadQt-407501ab9984f6d32d387928bdc2e48c91efc031.zip
Qt-407501ab9984f6d32d387928bdc2e48c91efc031.tar.gz
Qt-407501ab9984f6d32d387928bdc2e48c91efc031.tar.bz2
Fix test.
-rw-r--r--tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
index cd732b6..1cbe2ac 100644
--- a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
+++ b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
@@ -297,7 +297,7 @@ void tst_qdeclarativedom::testValueSource()
QVERIFY(springValue.isLiteral());
QVERIFY(springValue.toLiteral().literal() == "1.4");
- const QDeclarativeDomValue sourceValue = valueSourceObject.property("source").value();
+ const QDeclarativeDomValue sourceValue = valueSourceObject.property("to").value();
QVERIFY(!sourceValue.isInvalid());
QVERIFY(sourceValue.isBinding());
QVERIFY(sourceValue.toBinding().binding() == "Math.min(Math.max(-130, value*2.2 - 130), 133)");