diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-07-02 14:21:38 +1000 |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-07-02 14:21:38 +1000 |
commit | e4e6b49f555eae41fac024c1b733736a28812e2e (patch) | |
tree | 7a7774224081779ee222b0fce648701f0279547f /tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp | |
parent | 00dedffa8ad1fdec14e9e0a9184f49343c42c846 (diff) | |
download | qt4-tools-e4e6b49f555eae41fac024c1b733736a28812e2e.tar.gz |
Make autotests work with qreal == float (in addition to double).
Task-number: QTBUG-11853
Diffstat (limited to 'tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp | 2 |
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 a965ef3c25..3e80c2c50d 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 |