diff --git a/platform/platform-tests/testSrc/com/intellij/formatting/engine/GeneralCodeFormatterTest.kt b/platform/platform-tests/testSrc/com/intellij/formatting/engine/GeneralCodeFormatterTest.kt index 25e59b87eb04..493269ed022c 100644 --- a/platform/platform-tests/testSrc/com/intellij/formatting/engine/GeneralCodeFormatterTest.kt +++ b/platform/platform-tests/testSrc/com/intellij/formatting/engine/GeneralCodeFormatterTest.kt @@ -196,6 +196,12 @@ aaa bbb ccc "0123456789 ") } + + @Test + fun `test first spacing object is used`() { + doReformatTest("[]0 [s_min5_max5]([s_min10_max10]1)", "0 1") + } + @Test fun `test no wrap object no text wrap`() { doReformatTest("[]aaa []bbb []ccc []ddd []eee []f|ff", "aaa bbb ccc ddd eee fff")