Fix tests after implementing trailing comma in formatter

#KT-34744
This commit is contained in:
Dmitry Gridin
2020-01-14 20:56:48 +07:00
parent d98794479d
commit d06787886a
112 changed files with 598 additions and 371 deletions
@@ -4,9 +4,8 @@ val x = listOf(1, 2, 3).joinToString(
// comment2
prefix = "= ",
// comment3
separator = " + "
separator = " + ",
// comment4
,
// comment1
transform = Int::toString
transform = Int::toString,
)
@@ -7,6 +7,6 @@ val x = listOf(1, 2, 3).joinTo(
// comment2
prefix = "= ",
// comment3
separator = " + "
separator = " + ",
// comment4
) { "$it*$it" }
@@ -3,6 +3,6 @@
fun test() {
<caret>listOfNotNull(
true, // comment1
null // comment2
null, // comment2
).first()
}