diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-08-21 06:12:13 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-08-21 06:12:13 (GMT) |
commit | eb9de9ac563ac2821619c0844800c849af25cd5f (patch) | |
tree | 56fa746a91500811d377e80d02f571ea6b9090b9 | |
parent | 62d1aea8cf3f2bc9f1753ac1d4147bebfba90cb5 (diff) | |
download | Qt-eb9de9ac563ac2821619c0844800c849af25cd5f.zip Qt-eb9de9ac563ac2821619c0844800c849af25cd5f.tar.gz Qt-eb9de9ac563ac2821619c0844800c849af25cd5f.tar.bz2 |
update error messages
-rw-r--r-- | tests/auto/declarative/animations/tst_animations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/animations/tst_animations.cpp b/tests/auto/declarative/animations/tst_animations.cpp index a493454..889d9b7 100644 --- a/tests/auto/declarative/animations/tst_animations.cpp +++ b/tests/auto/declarative/animations/tst_animations.cpp @@ -37,7 +37,7 @@ void tst_animations::badTypes() c.create(); QVERIFY(c.errors().count() == 1); - QCOMPARE(c.errors().at(0).description(), QLatin1String("Cannot convert value \"blue\" to double number")); + QCOMPARE(c.errors().at(0).description(), QLatin1String("Invalid property assignment: double expected")); } //make sure we get a compiler error @@ -48,7 +48,7 @@ void tst_animations::badTypes() c.create(); QVERIFY(c.errors().count() == 1); - QCOMPARE(c.errors().at(0).description(), QLatin1String("Cannot convert value \"10\" to color")); + QCOMPARE(c.errors().at(0).description(), QLatin1String("Invalid property assignment: color expected")); } } |