aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/lambdaWithIfElse.formatted.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/lambdaWithIfElse.formatted.js')
-rw-r--r--tests/auto/qml/qmlformat/data/lambdaWithIfElse.formatted.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/lambdaWithIfElse.formatted.js b/tests/auto/qml/qmlformat/data/lambdaWithIfElse.formatted.js
new file mode 100644
index 0000000000..3bc7f683c4
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/lambdaWithIfElse.formatted.js
@@ -0,0 +1,7 @@
+var f = function () {
+ if (true) {
+ console.log("true");
+ } else {
+ console.log("false");
+ }
+};