aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlconsole/data/logging.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlconsole/data/logging.qml')
-rw-r--r--tests/auto/qml/qqmlconsole/data/logging.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlconsole/data/logging.qml b/tests/auto/qml/qqmlconsole/data/logging.qml
index 44009b5db9..11f11f492c 100644
--- a/tests/auto/qml/qqmlconsole/data/logging.qml
+++ b/tests/auto/qml/qqmlconsole/data/logging.qml
@@ -62,6 +62,7 @@ QtObject {
var a = [1, 2];
var b = {a: "hello", d: 1 };
+ b.toString = function() { return JSON.stringify(b) }
var c
var d = 12;
var e = function() { return 5;};