Path.absolute tests

This commit is contained in:
Rudi Grinberg 2018-05-08 16:50:49 +07:00
parent 9dcbc4ce53
commit fadc57040b
1 changed files with 10 additions and 0 deletions

View File

@ -101,3 +101,13 @@ Path.relative Path.root "/absolute/path"
[%%expect{|
- : Stdune.Path.t = /absolute/path
|}]
Path.absolute "/absolute/path"
[%%expect{|
- : Stdune.Path.t = /absolute/path
|}]
Path.is_local (Path.absolute "relative/path")
[%%expect{|
- : bool = false
|}]