summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-05-18 02:26:56 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-05-18 02:26:56 (GMT)
commitf784d8f70d864c89c778ce3c0951d51260857523 (patch)
tree9177dce9b27d81bf878d5dc444c9cbe9cab4cf75 /tests/auto/declarative/qdeclarativeecmascript
parent273024e58d90bb9b3a5da0161f884f1af22d75df (diff)
downloadQt-f784d8f70d864c89c778ce3c0951d51260857523.zip
Qt-f784d8f70d864c89c778ce3c0951d51260857523.tar.gz
Qt-f784d8f70d864c89c778ce3c0951d51260857523.tar.bz2
Round correctly in binding optimizer
QTBUG-9538
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
index 64e5b3f..0710e15 100644
--- a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
+++ b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
@@ -2083,10 +2083,9 @@ void tst_qdeclarativeecmascript::compiled()
QCOMPARE(object->property("test15").toBool(), false);
QCOMPARE(object->property("test16").toBool(), true);
- QCOMPARE(object->property("test17").toInt(), 4);
+ QCOMPARE(object->property("test17").toInt(), 5);
QCOMPARE(object->property("test18").toReal(), qreal(176));
- QEXPECT_FAIL("", "QTBUG-9538", Continue);
- QCOMPARE(object->property("test19").toInt(), 6);
+ QCOMPARE(object->property("test19").toInt(), 7);
QCOMPARE(object->property("test20").toReal(), qreal(6.7));
QCOMPARE(object->property("test21").toString(), QLatin1String("6.7"));
QCOMPARE(object->property("test22").toString(), QLatin1String("!"));