aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlproperty/data
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-06-14 08:07:01 +0200
committerLars Knoll <lars.knoll@digia.com>2013-06-15 15:26:19 +0200
commitb5932a162afc0faf126d79c323c4e028300f9074 (patch)
treed16add85f8f6ca88973325879b535833ded08be3 /tests/auto/qml/qqmlproperty/data
parentfdc067dff4d8f2e6e70102a3f8ac56921f668986 (diff)
Fix qqmlproperty::warnOnInvalidBinding
* Add column to expected warning message * Get rid of eval that doesn't make sense with only one JS engine and doesn't work in strict mode Change-Id: I63cd3784cd8c255af8832ea5ca1e6e5e2d48431e Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlproperty/data')
-rw-r--r--tests/auto/qml/qqmlproperty/data/invalidBinding.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlproperty/data/invalidBinding.qml b/tests/auto/qml/qqmlproperty/data/invalidBinding.qml
index e2bb1d172d..9364cdaea7 100644
--- a/tests/auto/qml/qqmlproperty/data/invalidBinding.qml
+++ b/tests/auto/qml/qqmlproperty/data/invalidBinding.qml
@@ -4,7 +4,7 @@ Item {
property Text text: myText
property Rectangle rectangle1: myText
- property Rectangle rectangle2: eval('getMyText()') // eval to force non-shared (v8) binding
+ property Rectangle rectangle2: getMyText()
function getMyText() { return myText; }