aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlconsole/data
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-04-18 09:38:39 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-05-02 15:46:10 +0000
commit057e37dba9e06c70012ed36e5998880ac277c06f (patch)
treebb03e8ffcc3b909001884c9e151dc462252820b4 /tests/auto/qml/qqmlconsole/data
parent1236abb3b3abab65984e32094bbaba4395667e0b (diff)
Fix console.log for sequence types such as QStringList
The output should be the same as if we were printing an array, with brackets. Task-number: QTBUG-67776 Change-Id: I942df66a2908f82ea8ba1ce65676413569cf6f02 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlconsole/data')
-rw-r--r--tests/auto/qml/qqmlconsole/data/logging.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlconsole/data/logging.qml b/tests/auto/qml/qqmlconsole/data/logging.qml
index d55c99bcbd..0764ad7545 100644
--- a/tests/auto/qml/qqmlconsole/data/logging.qml
+++ b/tests/auto/qml/qqmlconsole/data/logging.qml
@@ -67,6 +67,8 @@ QtObject {
console.log(1, "pong!", new Object);
console.log(1, ["ping","pong"], new Object, 2);
+ console.log(contextStringListProperty);
+
try {
console.log(exception);
} catch (e) {