Created
September 13, 2024 09:27
-
-
Save majk-p/3943f16ab41019c24d7deaf61fcbd59f to your computer and use it in GitHub Desktop.
Reproduction example of multisegment os.Path breaking expecty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //> 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