File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public expect val SystemPathSeparator: Char
7575public expect fun Path (path : String ): Path
7676
7777/* *
78- * Returns Path for the given [base] path concatenated with [parts] using [files. SystemPathSeparator].
78+ * Returns Path for the given [base] path concatenated with [parts] using [SystemPathSeparator].
7979 */
8080public fun Path (base : String , vararg parts : String ): Path {
8181 // Parameter name has to be specified explicitly to overcome https://youtrack.jetbrains.com/issue/KT-22520
@@ -91,7 +91,7 @@ public fun Path(base: String, vararg parts: String): Path {
9191}
9292
9393/* *
94- * Returns Path for the given [base] path concatenated with [parts] using [files. SystemPathSeparator].
94+ * Returns Path for the given [base] path concatenated with [parts] using [SystemPathSeparator].
9595 */
9696public fun Path (base : Path , vararg parts : String ): Path {
9797 return Path (base.toString(), * parts)
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ class SmokeFileTest {
186186 @Test
187187 fun pathParent () {
188188 val p = Path (SystemPathSeparator .toString(), " a" , " b" , " c" )
189- assertEquals(constructAbsolutePath(" a" , " b" ). also { println (it) } , p.parent?.toString())
189+ assertEquals(constructAbsolutePath(" a" , " b" ), p.parent?.toString())
190190 assertEquals(constructAbsolutePath(" a" ), p.parent?.parent?.toString())
191191 assertEquals(constructAbsolutePath(), p.parent?.parent?.parent?.toString())
192192 assertNull(p.parent?.parent?.parent?.parent)
You can’t perform that action at this time.
0 commit comments