Remove trailing comma from some tests

This commit is contained in:
Dmitry Gridin
2020-01-30 15:29:35 +07:00
parent 53f66e9509
commit 96f49d8e3c
6 changed files with 6 additions and 6 deletions
@@ -117,7 +117,7 @@ class SmartEnterCompletionTest : KotlinLightCodeInsightFixtureTestCase() {
fun test() { fun test() {
foo( foo(
1 + 1 +
2, 2
)<caret> )<caret>
} }
""" """
@@ -14,7 +14,7 @@ class A {
return JetBundle.message( return JetBundle.message(
"x.in.y", "x.in.y",
DescriptorRenderer.COMPACT.render(declarationDescriptor), DescriptorRenderer.COMPACT.render(declarationDescriptor),
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor), IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor)
) )
} }
} }
@@ -7,5 +7,5 @@ val x = listOf(1, 2, 3).joinToString(
separator = " + ", separator = " + ",
// comment4 // comment4
// comment1 // comment1
transform = Int::toString, transform = Int::toString
) )
@@ -7,6 +7,6 @@ val x = listOf(1, 2, 3).joinTo(
// comment2 // comment2
prefix = "= ", prefix = "= ",
// comment3 // comment3
separator = " + ", separator = " + "
// comment4 // comment4
) { "$it*$it" } ) { "$it*$it" }
@@ -3,6 +3,6 @@
fun test() { fun test() {
<caret>listOfNotNull( <caret>listOfNotNull(
true, // comment1 true, // comment1
null, // comment2 null // comment2
).first() ).first()
} }
+1 -1
View File
@@ -13,7 +13,7 @@ class A {
return JetBundle.message( return JetBundle.message(
"x.in.y", "x.in.y",
DescriptorRenderer.COMPACT.render(declarationDescriptor), DescriptorRenderer.COMPACT.render(declarationDescriptor),
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor), IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor)
) )
} }
} }