diff options
Diffstat (limited to 'plugins/base/src/test/kotlin/expect/ExpectUtils.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/expect/ExpectUtils.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/expect/ExpectUtils.kt b/plugins/base/src/test/kotlin/expect/ExpectUtils.kt index 1f54c20e..a8b1b187 100644 --- a/plugins/base/src/test/kotlin/expect/ExpectUtils.kt +++ b/plugins/base/src/test/kotlin/expect/ExpectUtils.kt @@ -1,3 +1,7 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + package expect import java.io.InputStream @@ -25,4 +29,4 @@ internal fun Path.listRecursively(filter: (Path) -> Boolean): List<Path> = when else -> emptyList() } -internal fun InputStream.bufferResult(): String = this.bufferedReader().lines().toList().joinToString("\n")
\ No newline at end of file +internal fun InputStream.bufferResult(): String = this.bufferedReader().lines().toList().joinToString("\n") |