We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49244f commit 6e0d7d9Copy full SHA for 6e0d7d9
src/test/kotlin/org/jetbrains/kotlin/jupyter/test/configTests.kt
@@ -11,7 +11,10 @@ class ConfigTest {
11
fun testBranch() {
12
val branch = runtimeProperties.currentBranch
13
log.debug("Runtime git branch is: $branch")
14
- assertEquals(-1, branch.indexOf('/'), "Branch name should be simple")
+
15
+ if (!branch.matches(Regex("pull/[1-9][0-9]*")))
16
+ assertEquals(-1, branch.indexOf('/'), "Branch name should be simple")
17
18
assertTrue(branch.isNotBlank(), "Branch name shouldn't be blank")
19
}
20
0 commit comments