Skip to content

Instantly share code, notes, and snippets.

@majk-p
Created September 13, 2024 09:27
Show Gist options
  • Select an option

  • Save majk-p/3943f16ab41019c24d7deaf61fcbd59f to your computer and use it in GitHub Desktop.

Select an option

Save majk-p/3943f16ab41019c24d7deaf61fcbd59f to your computer and use it in GitHub Desktop.
Reproduction example of multisegment os.Path breaking expecty
//> using dep "com.disneystreaming::weaver-cats:0.8.4"
//> using dep "com.lihaoyi::os-lib:0.10.7"
import weaver.*
import os.Path
object ExampleSuite extends FunSuite {
test("os-lib test") {
val path: os.Path = ???
expect(
path.startsWith(os.Path("/") / "tmp")
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment