summaryrefslogtreecommitdiffstats
path: root/tests/qmlauto/selftests/tst_selftests.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qmlauto/selftests/tst_selftests.qml')
-rw-r--r--tests/qmlauto/selftests/tst_selftests.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qmlauto/selftests/tst_selftests.qml b/tests/qmlauto/selftests/tst_selftests.qml
index c26250d..bcf53b9 100644
--- a/tests/qmlauto/selftests/tst_selftests.qml
+++ b/tests/qmlauto/selftests/tst_selftests.qml
@@ -52,6 +52,7 @@ TestCase {
property string failmsg: "cleaned"
property string actual: ""
property string expected: ""
+ property variant functionsToRun: []
function fail(msg, file, line) {
failmsg = msg
@@ -208,7 +209,7 @@ TestCase {
testCase.compare("abcdef", 42)
} catch (e) {
compare(e.message, "QtQuickTest::fail")
- compare(functions.failmsg, "")
+ compare(functions.failmsg, "Compared values are not the same")
compare(functions.actual, "abcdef")
compare(functions.expected, "42")
caught = true