aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/angular/switch-case.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/angular/switch-case.html')
-rw-r--r--tests/indent/angular/switch-case.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/indent/angular/switch-case.html b/tests/indent/angular/switch-case.html
new file mode 100644
index 000000000..17df96609
--- /dev/null
+++ b/tests/indent/angular/switch-case.html
@@ -0,0 +1,13 @@
+<div>
+ @switch (obj.property) {
+ @case (1) {
+ <p>Case 1</p>
+ }
+ @case (2) {
+ <p>Case 2</p>
+ }
+ @default {
+ <p>Default</p>
+ }
+ }
+</div>