summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:26:49 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:26:49 (GMT)
commit3c4df26a8d184b728395c8aad26b05626176b7b5 (patch)
tree8c5a16a3822f61fbeb0b2405009aeab480ffe98b /tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp
parenta8549cfee8b6ec393dcea6314e6ac7d6c102dc07 (diff)
downloadQt-3c4df26a8d184b728395c8aad26b05626176b7b5.zip
Qt-3c4df26a8d184b728395c8aad26b05626176b7b5.tar.gz
Qt-3c4df26a8d184b728395c8aad26b05626176b7b5.tar.bz2
Use console.log, not print.
Diffstat (limited to 'tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp')
-rw-r--r--tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp b/tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp
index d6e88b5..8dcfc11 100644
--- a/tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp
+++ b/tests/auto/declarative/qmlmetaproperty/tst_qmlmetaproperty.cpp
@@ -854,12 +854,12 @@ void tst_qmlmetaproperty::write()
{
PropertyObject o;
QmlMetaProperty p(&o, "onClicked");
- QCOMPARE(p.write(QVariant("print(1921)")), false);
+ QCOMPARE(p.write(QVariant("console.log(1921)")), false);
QVERIFY(0 == p.setSignalExpression(new QmlExpression()));
QVERIFY(0 != p.signalExpression());
- QCOMPARE(p.write(QVariant("print(1921)")), false);
+ QCOMPARE(p.write(QVariant("console.log(1921)")), false);
QVERIFY(0 != p.signalExpression());
}