~~ ifStatement.bracePosition: maintain, ifStatement.nextControlFlowPosition: nextLine, lineWidth: 40, ifStatement.preferHanging: true ~~
== should maintain the position for the brace position when on same line ==
if (true) {
}
else if (other) {
}
else {
}

[expect]
if (true) {
}
else if (other) {
}
else {
}

== should maintain the position for the brace position when on a new line ==
if (true)
{
}
else if (other)
{
}
else
{
}

[expect]
if (true)
{
}
else if (other)
{
}
else
{
}

== should maintain the position for the brace position when mixing current and next line ==
if (true)
{
}
else if (other) {
}
else if (other)
{
}
else {
}

[expect]
if (true)
{
}
else if (other) {
}
else if (other)
{
}
else {
}

== should maintain the position for the brace position when hanging and on the same line ==
if (thisIsA && conditionThatGoesLongLong) {
}
else if (thisIsA && conditionThatGoesLongLong) {
}
else {
}

[expect]
if (thisIsA
    && conditionThatGoesLongLong) {
}
else if (thisIsA
    && conditionThatGoesLongLong) {
}
else {
}

== should maintain the position for the brace position when hanging and on the next line ==
if (thisIsA && conditionThatGoesLongLong)
{
}
else if (thisIsA && conditionThatGoesLongLong)
{
}
else
{
}

[expect]
if (thisIsA
    && conditionThatGoesLongLong)
{
}
else if (thisIsA
    && conditionThatGoesLongLong)
{
}
else
{
}
