[IDEA-167425] formatter: fixed misplaced rbrace position

This commit is contained in:
Yaroslav Lepenkin
2017-05-15 14:39:41 +03:00
parent c8f26555b9
commit c8b6a6500b
2 changed files with 13 additions and 1 deletions
@@ -3377,5 +3377,16 @@ public void testSCR260() throws Exception {
"}"
);
}
public void testPreserveRbraceOnItsLine() {
doClassTest(
"class SomeTest {\n" +
" @Test\n" +
"}",
"class SomeTest {\n" +
" @Test\n" +
"}"
);
}
}