aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-06-27 09:22:19 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-06-28 07:56:46 +0000
commitd6177808d6bff7f8d950bb3110daba9011e1c461 (patch)
treec2d386832efbe2e6ee3da02e7386aed8e23b5bf9 /tests
parentaa8c0203104ce8d9e6ec42b28bfb3a31b601bffe (diff)
Clarify error message when using eval in signal handlers
Task-number: QTBUG-64024 Change-Id: If8f749ef9ec072928cb352ad7cd4dcf140b6ed53 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp b/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp
index 6dc54a323e..48eb694167 100644
--- a/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp
+++ b/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp
@@ -253,7 +253,7 @@ void tst_qmlcachegen::errorOnArgumentsInSignalHandler()
QByteArray errorOutput;
QVERIFY(!generateCache(testFilePath, &errorOutput));
- QVERIFY2(errorOutput.contains("error: The use of the arguments object in signal handlers is"), errorOutput);
+ QVERIFY2(errorOutput.contains("error: The use of eval() or the use of the arguments object in signal handlers is"), errorOutput);
}
void tst_qmlcachegen::aheadOfTimeCompilation()