05nelsonm / kmp-file

A very simple File API for Kotlin Multiplatform. It gets the job done.
Apache License 2.0
2 stars 0 forks source link

`normalize` should preserve `..` when path is not rooted #30

Closed 05nelsonm closed 8 months ago

05nelsonm commented 8 months ago

Should be true because the path is relative

val actual = "../../.".toFile().normalize().path

assertEquals("../..", actual)