~~ ifStatement.singleBodyPosition: sameLine, lineWidth: 40 ~~
== should keep on a single line ==
if (true) console.log(5);
else if (false) console.log(4);
else console.log("asdf");

[expect]
if (true) console.log(5);
else if (false) console.log(4);
else console.log("asdf");

== should force to the same line when on a different line ==
if (true)
    console.log(5);

[expect]
if (true) console.log(5);

== should not put on a different line when contains braces ==
if (true) {
    console.log(5);
}

[expect]
if (true) {
    console.log(5);
}

== should move to the next line when exceeding the line width ==
if (true) testing.this.out.with.a.very.long.expression();

[expect]
if (true) {
    testing.this.out.with.a.very.long
        .expression();
}
