From 6b72c03fdf3470f405e4d6f4c821ccf2cda99b4e Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Thu, 8 Apr 2010 13:13:41 +1000 Subject: Remove usage of Script where not actually testing the obsolete construct. --- tests/auto/declarative/parserstress/tst_parserstress.cpp | 4 +--- 1 file changed, 1 insertion(+), 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"; -- cgit v0.12