Fix compilation AbstractParameterInfoTest
This commit is contained in:
committed by
Nikolay Krasko
parent
768305adc8
commit
c07096c9d7
@@ -92,11 +92,10 @@ abstract class AbstractParameterInfoTest : LightCodeInsightFixtureTestCase() {
|
||||
|
||||
val parameterInfoUIContext = MockParameterInfoUIContext(parameterOwner, updateContext.currentParameter)
|
||||
|
||||
for (item in mockCreateParameterInfoContext.itemsToShow) {
|
||||
handler.updateUI(item, parameterInfoUIContext)
|
||||
}
|
||||
Assert.assertEquals(expectedResultText, parameterInfoUIContext.resultText)
|
||||
}
|
||||
mockCreateParameterInfoContext.itemsToShow?.forEach {
|
||||
handler.updateUI(it, parameterInfoUIContext)}
|
||||
|
||||
Assert.assertEquals(expectedResultText, parameterInfoUIContext.resultText)}
|
||||
finally {
|
||||
if (isWithRuntime) {
|
||||
ConfigLibraryUtil.unConfigureKotlinRuntimeAndSdk(myFixture.module, IdeaTestUtil.getMockJdk17())
|
||||
|
||||
Reference in New Issue
Block a user