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() {
foo(
1 +
2,
2
)<caret>
}
"""
@@ -14,7 +14,7 @@ class A {
return JetBundle.message(
"x.in.y",
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 = " + ",
// 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()
}
+1 -1
View File
@@ -13,7 +13,7 @@ class A {
return JetBundle.message(
"x.in.y",
DescriptorRenderer.COMPACT.render(declarationDescriptor),
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor),
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor)
)
}
}