We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cd8e7b commit f7824b5Copy full SHA for f7824b5
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/util/RunConfigurationHelper.kt
@@ -64,7 +64,7 @@ class RunConfigurationHelper {
64
companion object {
65
private val logger = KotlinLogging.logger {}
66
67
- private fun RunConfiguration.isPatternBased() = this is JavaTestConfigurationBase && testType == "pattern"
+ private fun RunConfiguration.isPatternBased() = this is JavaTestConfigurationBase && "pattern".contentEquals(testType, true)
68
69
// In case we do "generate and run" for many files at once,
70
// desired run configuration has to be one of "pattern" typed test configuration that may run many tests at once.
0 commit comments