From afd71d3d19a456e6d8da6eb3cf4e6d1e22556589 Mon Sep 17 00:00:00 2001 From: Vladimir Dolzhenko Date: Tue, 25 Feb 2020 09:23:13 +0100 Subject: [PATCH] Adjust tests due to "Remove argument" quick fix for TOO_MANY_ARGUMENTS Relates to #KT-34026 Relates to #KT-34332 --- .../autoImports/mismatchingArgs/extensionWrongReceiver.test | 1 + .../autoImports/mismatchingArgs/topLevelFun_notWithReceiver.test | 1 + .../createSecondaryConstructor/groovyConstructor.before.Main.kt | 1 + 3 files changed, 3 insertions(+) diff --git a/idea/testData/quickfix/autoImports/mismatchingArgs/extensionWrongReceiver.test b/idea/testData/quickfix/autoImports/mismatchingArgs/extensionWrongReceiver.test index d96e20a0fc4..87b09042863 100644 --- a/idea/testData/quickfix/autoImports/mismatchingArgs/extensionWrongReceiver.test +++ b/idea/testData/quickfix/autoImports/mismatchingArgs/extensionWrongReceiver.test @@ -6,6 +6,7 @@ // ACTION: Create member function 'X.foo' // ACTION: Convert to run // ACTION: Convert to with +// ACTION: Remove argument package main diff --git a/idea/testData/quickfix/autoImports/mismatchingArgs/topLevelFun_notWithReceiver.test b/idea/testData/quickfix/autoImports/mismatchingArgs/topLevelFun_notWithReceiver.test index 15a2e7b8f00..cba8b86ffec 100644 --- a/idea/testData/quickfix/autoImports/mismatchingArgs/topLevelFun_notWithReceiver.test +++ b/idea/testData/quickfix/autoImports/mismatchingArgs/topLevelFun_notWithReceiver.test @@ -4,6 +4,7 @@ // ACTION: Add parameter to function 'foo' // ACTION: Create extension function 'X.foo' // ACTION: Create member function 'X.foo' +// ACTION: Remove argument package main diff --git a/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/groovyConstructor.before.Main.kt b/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/groovyConstructor.before.Main.kt index 69416a5b32f..b4bafcaeb14 100644 --- a/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/groovyConstructor.before.Main.kt +++ b/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/groovyConstructor.before.Main.kt @@ -3,5 +3,6 @@ // ACTION: Convert to block body // ACTION: Create function 'G' // ACTION: Introduce local variable +// ACTION: Remove argument fun test() = G(1) \ No newline at end of file