diff options
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
| -rw-r--r-- | tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp b/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp index 888bb098e5..32c313c2a8 100644 --- a/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp +++ b/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp @@ -3504,7 +3504,8 @@ void tst_QmlCppCodegen::multipleCtors() QCOMPARE(o->property("wr").value<ValueTypeWithLength>().length(), 3); QCOMPARE(o->property("wp").value<ValueTypeWithLength>().length(), 11); QCOMPARE(o->property("wi").value<ValueTypeWithLength>().length(), 17); - QCOMPARE(o->property("wo").value<ValueTypeWithLength>().length(), -4); + QCOMPARE(o->property("wo").value<ValueTypeWithLength>().length(), 5); + QCOMPARE(o->property("wz").value<ValueTypeWithLength>().length(), 8); } void tst_QmlCppCodegen::namespaceWithEnum() |
