Files
test-repo/tests/format/js/switch/empty_lines.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
620 B
JavaScript
Raw Normal View History

2017-04-05 20:27:14 -03:00
switch (foo) {
case "bar":
doSomething();
case "baz":
doOtherThing();
}
switch (foo) {
case "bar":
doSomething();
case "baz":
doOtherThing();
}
switch (foo) {
case "bar":
doSomething();
case "baz":
doOtherThing();
}
switch (foo) {
case "bar":
doSomething();
case "baz":
doOtherThing();
}
2017-04-10 10:50:02 -07:00
switch (x) {
case y:
call();
break;
case z:
call();
break;
}
switch (a) {
case b:
if (1) {};
c;
}
2017-04-14 19:02:19 -04:00
switch (a) {
case x:
case y:
call();
case z:
call();
}
switch (a) {
case x: case y:
call();
case z:
call();
}