[formatter] added test on multiple spacing objects at same offset

This commit is contained in:
yarik
2017-06-20 14:40:25 +03:00
parent ddec342696
commit c4cfcf98b6
@@ -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")