diff --git a/tests/cases/fourslash/formatOnEnterEmptyBlock.ts b/tests/cases/fourslash/formatIfWithEmptyCondition.ts similarity index 74% rename from tests/cases/fourslash/formatOnEnterEmptyBlock.ts rename to tests/cases/fourslash/formatIfWithEmptyCondition.ts index fd24edf4e5f..6e949900e22 100644 --- a/tests/cases/fourslash/formatOnEnterEmptyBlock.ts +++ b/tests/cases/fourslash/formatIfWithEmptyCondition.ts @@ -1,16 +1,11 @@ /// -//// if (true) { -//// } //// if () { //// } format.setOption("PlaceOpenBraceOnNewLineForControlBlocks", true); format.document(); verify.currentFileContentIs( -`if (true) -{ -} -if () +`if () { }`);