aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qjsonbinding
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qjsonbinding')
-rw-r--r--tests/auto/qml/qjsonbinding/tst_qjsonbinding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qjsonbinding/tst_qjsonbinding.cpp b/tests/auto/qml/qjsonbinding/tst_qjsonbinding.cpp
index e6b056fbd0..aaeecb9fc9 100644
--- a/tests/auto/qml/qjsonbinding/tst_qjsonbinding.cpp
+++ b/tests/auto/qml/qjsonbinding/tst_qjsonbinding.cpp
@@ -428,7 +428,7 @@ void tst_qjsonbinding::writeProperty_javascriptExpression_data()
QTest::newRow("object = object with function property")
<< "object" << "{ foo: function() {} }" << "{}";
QTest::newRow("array = array with function property")
- << "array" << "[function() {}]" << "[]";
+ << "array" << "[function() {}]" << "[null]";
// Inherited properties should not be included.
QTest::newRow("value = object with inherited property")