~~ ifStatement.useBraces: whenNotSingleLine, lineWidth: 40 ~~
== should when not single line ==
if (true)
    a;
else if (true) {
    b;
}
else c;

[expect]
if (true) {
    a;
} else if (true) {
    b;
} else c;

== should not when single line ==
if (true) test;
else if (false) other;
else asdf;

[expect]
if (true) test;
else if (false) other;
else asdf;

== should add braces when the single line body goes over the line width ==
if (testingThisOut && otherTest) loggerr;

[expect]
if (testingThisOut && otherTest) {
    loggerr;
}

== should leave the first line trailing comments as-is when going over the line width within the comment ==
if (testingThisOut && otherTest) { // testing this out
    logger;
}

[expect]
if (testingThisOut && otherTest) { // testing this out
    logger;
}

== for now, it does this when going over the line width on the second space ==
if (testingThisOut && otherTestTesttt) { // testing this out
    logger;
}

[expect]
if (testingThisOut && otherTestTesttt) {
    // testing this out
    logger;
}

== should break expression when going over the line width on the first space ==
if (testingThisOut && otherTestTesttttttt) { // testing this out
    logger;
}

[expect]
if (
    testingThisOut
    && otherTestTesttttttt
) { // testing this out
    logger;
}
