From eb9de9ac563ac2821619c0844800c849af25cd5f Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Fri, 21 Aug 2009 16:12:13 +1000 Subject: update error messages --- tests/auto/declarative/animations/tst_animations.cpp | 4 ++-- 1 file 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")); } } -- cgit v0.12