From 1f2e97c98a3cb95087f9a07297bcec1c2d240a15 Mon Sep 17 00:00:00 2001 From: Frederik Haselmeier Date: Mon, 6 Jul 2026 11:09:59 +0200 Subject: [PATCH] [kotlin] KTIJ-39213 added spaces into context parameter test (cherry picked from commit 44d1e2b8a1e9c528bc93d5f5f351903fd9c6a595) IJ-CR-211304 GitOrigin-RevId: 2ab0531523fe8f3e201839b1a194967c971063be --- .../formatter/ContextParameterSpacesInFunctionType.after.kt | 2 +- .../testData/formatter/ContextParameterSpacesInFunctionType.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.after.kt b/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.after.kt index eab99a4c672e..577795bfc39e 100644 --- a/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.after.kt +++ b/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.after.kt @@ -1,3 +1,3 @@ -fun analyze(action: context(KaSession) (Int, String, Float) -> R): R = TODO() +fun analyze(action: context(Int, String, Float, String) (Int, String, Float) -> R): R = TODO() // SET_TRUE: SPACE_AFTER_CONTEXT_PARAMETER_LIST_IN_FUNCTION_TYPE diff --git a/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.kt b/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.kt index 989b0d79dc1b..5a27a922ff75 100644 --- a/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.kt +++ b/plugins/kotlin/idea/tests/testData/formatter/ContextParameterSpacesInFunctionType.kt @@ -1,3 +1,3 @@ -fun analyze(action: context(KaSession) ( Int, String, Float ) -> R): R = TODO() +fun analyze(action: context( Int, String,Float , String ) ( Int, String, Float ) -> R): R = TODO() // SET_TRUE: SPACE_AFTER_CONTEXT_PARAMETER_LIST_IN_FUNCTION_TYPE