aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/ecma
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/ecma')
-rw-r--r--tests/indent/ecma/if_else.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/ecma/if_else.js b/tests/indent/ecma/if_else.js
index 4f971c8fc..990ccd19a 100644
--- a/tests/indent/ecma/if_else.js
+++ b/tests/indent/ecma/if_else.js
@@ -11,3 +11,9 @@ if (cond1) {
} else {
do_fallback()
}
+
+if (true)
+ console.log('hi')
+console.log('hi')
+
+if (true)