summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeanimations
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-07-02 04:21:38 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-07-02 04:21:38 (GMT)
commite4e6b49f555eae41fac024c1b733736a28812e2e (patch)
tree7a7774224081779ee222b0fce648701f0279547f /tests/auto/declarative/qdeclarativeanimations
parent00dedffa8ad1fdec14e9e0a9184f49343c42c846 (diff)
downloadQt-e4e6b49f555eae41fac024c1b733736a28812e2e.zip
Qt-e4e6b49f555eae41fac024c1b733736a28812e2e.tar.gz
Qt-e4e6b49f555eae41fac024c1b733736a28812e2e.tar.bz2
Make autotests work with qreal == float (in addition to double).
Task-number: QTBUG-11853
Diffstat (limited to 'tests/auto/declarative/qdeclarativeanimations')
-rw-r--r--tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp b/tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp
index a965ef3..3e80c2c 100644
--- a/tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp
+++ b/tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp
@@ -310,7 +310,7 @@ void tst_qdeclarativeanimations::badTypes()
c.create();
QVERIFY(c.errors().count() == 1);
- QCOMPARE(c.errors().at(0).description(), QLatin1String("Invalid property assignment: double expected"));
+ QCOMPARE(c.errors().at(0).description(), QLatin1String("Invalid property assignment: number expected"));
}
//make sure we get a compiler error