summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlparser/interfaceProperty.txt
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-08-05 00:53:33 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-08-05 00:53:33 (GMT)
commit5b5ce7bef24f6bc8bc984ca95f464ee8d893d34b (patch)
tree4731ffbfaa09a9a22db39c31a01b570dab94addc /tests/auto/declarative/qmlparser/interfaceProperty.txt
parent45c46cc786c3f63269ea80246082bc5d7d38e893 (diff)
downloadQt-5b5ce7bef24f6bc8bc984ca95f464ee8d893d34b.zip
Qt-5b5ce7bef24f6bc8bc984ca95f464ee8d893d34b.tar.gz
Qt-5b5ce7bef24f6bc8bc984ca95f464ee8d893d34b.tar.bz2
Fix test
"interface" is a JS reserved word, which have been disallowed as property names.
Diffstat (limited to 'tests/auto/declarative/qmlparser/interfaceProperty.txt')
-rw-r--r--tests/auto/declarative/qmlparser/interfaceProperty.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlparser/interfaceProperty.txt b/tests/auto/declarative/qmlparser/interfaceProperty.txt
index c9a20fb..70879ff 100644
--- a/tests/auto/declarative/qmlparser/interfaceProperty.txt
+++ b/tests/auto/declarative/qmlparser/interfaceProperty.txt
@@ -1,5 +1,5 @@
import Test 1.0
import Qt 4.6
-Object {
- interface: MyQmlObject {}
+MyQmlObject {
+ interfaceProperty: MyQmlObject {}
}