From 1b7b546249b38e90432ddba89974d399b9a060d4 Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Thu, 3 Oct 2019 15:23:05 +0700 Subject: [PATCH] Tests: fix some tests in quickfix --- .../autoImports/mismatchingArgs/notForIncompleteCall.test | 2 +- .../quickfix/typeMismatch/paramTypeInOverrides.after.kt | 2 +- .../quickfix/typeMismatch/paramTypeInOverrides.before.Main.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/idea/testData/quickfix/autoImports/mismatchingArgs/notForIncompleteCall.test b/idea/testData/quickfix/autoImports/mismatchingArgs/notForIncompleteCall.test index 2f36f999cbf..5895fbce557 100644 --- a/idea/testData/quickfix/autoImports/mismatchingArgs/notForIncompleteCall.test +++ b/idea/testData/quickfix/autoImports/mismatchingArgs/notForIncompleteCall.test @@ -2,7 +2,7 @@ // "Import" "false" // ERROR: Type mismatch: inferred type is Int but String was expected // ACTION: Add 'toString()' call -// ACTION: Change parameter 'p' type of function 'main.X.foo' to 'Int' +// ACTION: Change parameter 'p' type of function 'foo' to 'Int' // ACTION: Create function 'foo' package main diff --git a/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.after.kt b/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.after.kt index 13ace8cae48..9763f284a36 100644 --- a/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.after.kt +++ b/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.after.kt @@ -1,4 +1,4 @@ -// "Change parameter 'a' type of function 'test.B.foo' to 'String'" "true" +// "Change parameter 'a' type of function 'foo' to 'String'" "true" // DISABLE-ERRORS package test diff --git a/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.before.Main.kt b/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.before.Main.kt index 2b54a9299c6..3170bbd9c9e 100644 --- a/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.before.Main.kt +++ b/idea/testData/quickfix/typeMismatch/paramTypeInOverrides.before.Main.kt @@ -1,4 +1,4 @@ -// "Change parameter 'a' type of function 'test.B.foo' to 'String'" "true" +// "Change parameter 'a' type of function 'foo' to 'String'" "true" // DISABLE-ERRORS package test