From 1e72116a9c69d1c40d07dd633bfd8c9c862671b3 Mon Sep 17 00:00:00 2001 From: Igor Yakovlev Date: Wed, 28 Aug 2019 13:05:53 +0300 Subject: [PATCH] Fix test data for intention tests The ExtractDeclarationFromCurrentFileIntention applicability range was changed by commit 3b35c2d24 so the test data of several test comes invalid --- idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt | 1 + .../typeMismatch/wrapWithCollectionLiteral/inAnnotation.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt b/idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt index e86641adfd1..8e5929bc7c2 100644 --- a/idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt +++ b/idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt @@ -1,5 +1,6 @@ // "Add annotation target" "false" // ACTION: Create test +// ACTION: Extract 'Test' from current file // ACTION: Make internal // ACTION: Make private // ERROR: This annotation is not applicable to target 'class' and use site target '@get' diff --git a/idea/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/inAnnotation.kt b/idea/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/inAnnotation.kt index aa6cc360e98..2df2e9b3b7b 100644 --- a/idea/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/inAnnotation.kt +++ b/idea/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/inAnnotation.kt @@ -3,6 +3,7 @@ // ACTION: Add arrayOf wrapper // ACTION: Change parameter 'value' type of primary constructor of class 'Foo' to 'String' // ACTION: Create test +// ACTION: Extract 'Bar' from current file // ACTION: Make internal // ACTION: Make private // ACTION: To raw string literal