We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5532c8 commit 7ca87d0Copy full SHA for 7ca87d0
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