aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/jsimport/importWithNoImports.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/jsimport/importWithNoImports.js')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/jsimport/importWithNoImports.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/jsimport/importWithNoImports.js b/tests/auto/declarative/qdeclarativeecmascript/data/jsimport/importWithNoImports.js
deleted file mode 100644
index 83426c425c..0000000000
--- a/tests/auto/declarative/qdeclarativeecmascript/data/jsimport/importWithNoImports.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// This js file has no imports, and so should inherit
-// scope from the QML file which includes it.
-
-function componentError() {
- var i = 5;
- var errorIsOne = Component.error == 1;
- if (errorIsOne == true) {
- i = i + 7;
- }
- return i;
-}