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") {
|
||||
assertSuccessful()
|
||||
val printedLine = output.lines().single { "###" in it }.substringAfter("###")
|
||||
val printedLine = output.lines().single { "###[" in it }.substringAfter("###")
|
||||
val items = printedLine.removeSurrounding("[", "]").split(", ")
|
||||
assertTrue(items.toString()) { items.any { "kotlinx-cli-jvm" in it } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user