CommonIntentionActionsTest.testRemoveConstructorParameters test fix for 181, 182, as32

This commit is contained in:
Nicolay Mitropolsky
2018-04-29 11:47:46 +03:00
parent 398795b832
commit efd743284e
3 changed files with 3 additions and 3 deletions
@@ -315,7 +315,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
myFixture.launchAction(
createConstructorActions(
myFixture.atCaret(),
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
constructorRequest(project, emptyList())
).findWithText("Remove 1st parameter from method 'Foo'")
)
myFixture.checkResult("""
@@ -382,7 +382,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
myFixture.launchAction(
createConstructorActions(
myFixture.atCaret(),
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
constructorRequest(project, emptyList())
).findWithText("Remove 1st parameter from method 'Foo'")
)
myFixture.checkResult("""
@@ -302,7 +302,7 @@ class CommonIntentionActionsTest : LightPlatformCodeInsightFixtureTestCase() {
myFixture.launchAction(
createConstructorActions(
myFixture.atCaret(),
constructorRequest(project, listOf(pair("param0", PsiType.INT as PsiType)))
constructorRequest(project, emptyList())
).findWithText("Remove 1st parameter from method 'Foo'")
)
myFixture.checkResult("""