aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/failure1.js
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2015-05-08 22:10:43 +0100
committerSérgio Martins <sergio.martins@kdab.com>2015-10-25 21:48:21 +0000
commit5c53861cced2d40490e4c7bfc202aadc532df4c2 (patch)
treeb2d1684ea93038bbc73100878920e100513a7f25 /tests/auto/qml/qmllint/data/failure1.js
parentd12391470f5a9b2f0ae22e11960177c5b7496a75 (diff)
qmllint: Add unit-tests
Change-Id: Ia3eb33e89597e3811112ce78d8a59a822cc9190c Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/qml/qmllint/data/failure1.js')
-rw-r--r--tests/auto/qml/qmllint/data/failure1.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/failure1.js b/tests/auto/qml/qmllint/data/failure1.js
new file mode 100644
index 0000000000..6a62accf06
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/failure1.js
@@ -0,0 +1,5 @@
+function foo()
+{
+ var hello
+ returm 0 // Typo
+}