mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Fix Kotlin migration notification tests for ^KTIJ-22128
GitOrigin-RevId: e87f6de54696e1c958d4ee6152669457705497a3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bc43796a35
commit
afa6c67153
+1
-1
@@ -131,7 +131,7 @@ class ConfigureKotlinInTempDirTest : AbstractConfigureKotlinInTempDirTest() {
|
||||
}
|
||||
|
||||
assertEquals(
|
||||
"Migrations for Kotlin code are available<br/><br/>Detected migration:<br/> 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/> 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/> Language version: 1.5 -> 1.6<br/> 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/> Language version: 1.5 to 1.6<br/> API version: 1.5 to 1.6<br/>"
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user