mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add additional troubleshooting to K1 vs K2 assertion in tests
GitOrigin-RevId: 924f958218103ac30e00cde5509dca3cd253a9ef
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed05378442
commit
9c9d20fbd4
+3
-1
@@ -29,7 +29,9 @@ internal fun assertKotlinPluginMode(
|
||||
) = Assert.assertEquals(
|
||||
"""
|
||||
Invalid Kotlin plugin detected: $actualPluginMode, but $expectedPluginMode was expected.
|
||||
Troubleshooting: make sure `idea.kotlin.plugin.use.k2` system property is set to the correct value (true/false) in your run configuration.
|
||||
Troubleshooting:
|
||||
For such tests, most probably the first test in the batch doesn't override ExpectedPluginModuleProvider and thus the wrong plugin might be used for the run.
|
||||
A fast workaround is to set `idea.kotlin.plugin.use.k2` system property the expected value (true/false) in your run configuration.
|
||||
""".trimIndent(),
|
||||
expectedPluginMode,
|
||||
actualPluginMode,
|
||||
|
||||
Reference in New Issue
Block a user