[kotlin] Fix Kotlin migration notification tests for ^KTIJ-22128

GitOrigin-RevId: e87f6de54696e1c958d4ee6152669457705497a3
This commit is contained in:
Alexander Danilov
2022-07-18 23:34:58 +00:00
committed by intellij-monorepo-bot
parent bc43796a35
commit afa6c67153
2 changed files with 2 additions and 2 deletions
@@ -131,7 +131,7 @@ class ConfigureKotlinInTempDirTest : AbstractConfigureKotlinInTempDirTest() {
}
assertEquals(
"Migrations for Kotlin code are available<br/><br/>Detected migration:<br/>&nbsp;&nbsp;Language version: 1.5 -> 1.6<br/>",
"Update your code to replace the use of deprecated language and library features with supported constructs<br/><br/>Detected migration:<br/>&nbsp;&nbsp;Language version: 1.5 to 1.6<br/>",
notificationText,
)
}
@@ -78,7 +78,7 @@ class MavenMigrateTest : KotlinMavenImportingTestCase() {
assertTrue(
/* message = */ notifications.asText(),
/* condition = */ notifications.any {
it.content == "Migrations for Kotlin code are available<br/><br/>Detected migration:<br/>&nbsp;&nbsp;Language version: 1.5 -> 1.6<br/>&nbsp;&nbsp;API version: 1.5 -> 1.6<br/>"
it.content == "Update your code to replace the use of deprecated language and library features with supported constructs<br/><br/>Detected migration:<br/>&nbsp;&nbsp;Language version: 1.5 to 1.6<br/>&nbsp;&nbsp;API version: 1.5 to 1.6<br/>"
}
)
}