From a830c69a3074dedbf22a2a4e7bcc313ac7b12f81 Mon Sep 17 00:00:00 2001 From: Vladimir Dolzhenko Date: Sat, 4 Jul 2020 22:23:49 +0200 Subject: [PATCH] Regenerate TypingIndentationTestBaseGenerated --- .../EmptyArgumentInThisAsClassicFunction.after.kt | 11 +++++++++++ .../formatter/TypingIndentationTestBaseGenerated.java | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInThisAsClassicFunction.after.kt diff --git a/idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInThisAsClassicFunction.after.kt b/idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInThisAsClassicFunction.after.kt new file mode 100644 index 00000000000..67d330d82ec --- /dev/null +++ b/idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInThisAsClassicFunction.after.kt @@ -0,0 +1,11 @@ +class A { + operator fun invoke() = Unit + + fun a() { + this( + + ) + } +} + +// SET_FALSE: ALIGN_MULTILINE_METHOD_BRACKETS diff --git a/idea/tests/org/jetbrains/kotlin/formatter/TypingIndentationTestBaseGenerated.java b/idea/tests/org/jetbrains/kotlin/formatter/TypingIndentationTestBaseGenerated.java index 24810cff074..982143f44b7 100644 --- a/idea/tests/org/jetbrains/kotlin/formatter/TypingIndentationTestBaseGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/formatter/TypingIndentationTestBaseGenerated.java @@ -641,6 +641,11 @@ public class TypingIndentationTestBaseGenerated extends AbstractTypingIndentatio runTest("idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInCallByReferenceWithTypeArguments2.after.kt"); } + @TestMetadata("EmptyArgumentInThisAsClassicFunction.after.kt") + public void testEmptyArgumentInThisAsClassicFunction() throws Exception { + runTest("idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInThisAsClassicFunction.after.kt"); + } + @TestMetadata("EmptyArgumentInThisAsConstructor.after.kt") public void testEmptyArgumentInThisAsConstructor() throws Exception { runTest("idea/testData/indentationOnNewline/emptyParameters/EmptyArgumentInThisAsConstructor.after.kt");