Fix test founds more lines then expected.
Now Gradle additionally prints warning message regarding using debug logs that wrapped in '####*' lines.
This commit is contained in:
+1
-1
@@ -341,7 +341,7 @@ class VariantAwareDependenciesIT : BaseGradleIT() {
|
|||||||
|
|
||||||
build("resolveCustom") {
|
build("resolveCustom") {
|
||||||
assertSuccessful()
|
assertSuccessful()
|
||||||
val printedLine = output.lines().single { "###" in it }.substringAfter("###")
|
val printedLine = output.lines().single { "###[" in it }.substringAfter("###")
|
||||||
val items = printedLine.removeSurrounding("[", "]").split(", ")
|
val items = printedLine.removeSurrounding("[", "]").split(", ")
|
||||||
assertTrue(items.toString()) { items.any { "kotlinx-cli-jvm" in it } }
|
assertTrue(items.toString()) { items.any { "kotlinx-cli-jvm" in it } }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user