summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-08 03:13:41 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-08 03:13:41 (GMT)
commit6b72c03fdf3470f405e4d6f4c821ccf2cda99b4e (patch)
tree919ad116e9ac2938db65f6588a330d91c8fe8839 /tests/auto/declarative
parentb6aa652b96922dc0faa291879441f8746d8f8a39 (diff)
downloadQt-6b72c03fdf3470f405e4d6f4c821ccf2cda99b4e.zip
Qt-6b72c03fdf3470f405e4d6f4c821ccf2cda99b4e.tar.gz
Qt-6b72c03fdf3470f405e4d6f4c821ccf2cda99b4e.tar.bz2
Remove usage of Script where not actually testing the obsolete construct.
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/parserstress/tst_parserstress.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/declarative/parserstress/tst_parserstress.cpp b/tests/auto/declarative/parserstress/tst_parserstress.cpp
index 6ff5515..ee246fa 100644
--- a/tests/auto/declarative/parserstress/tst_parserstress.cpp
+++ b/tests/auto/declarative/parserstress/tst_parserstress.cpp
@@ -121,10 +121,8 @@ void tst_parserstress::ecmascript()
qml+= dataStr + "\n";
qml+= " return 1;\n";
qml+= " }\n";
- qml+= " Script {\n";
- qml+= " function stress() {\n";
+ qml+= " function stress() {\n";
qml+= dataStr;
- qml+= " }\n";
qml+= " }\n";
qml+= "}\n";