mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-29 19:57:58 +00:00
@@ -558,9 +558,9 @@ block ospaths:
|
||||
doAssert joinPath("foo","abc") == unixToNativePath"foo/abc"
|
||||
doAssert joinPath("","abc") == unixToNativePath"abc"
|
||||
|
||||
doAssert joinPath("gook/.","abc") == unixToNativePath"gook/abc"
|
||||
doAssert joinPath("zook/.","abc") == unixToNativePath"zook/abc"
|
||||
|
||||
# controversial: inconsistent with `joinPath("gook/.","abc")`
|
||||
# controversial: inconsistent with `joinPath("zook/.","abc")`
|
||||
# on linux, `./foo` and `foo` are treated a bit differently for executables
|
||||
# but not `./foo/bar` and `foo/bar`
|
||||
doAssert joinPath(".", "/lib") == unixToNativePath"./lib"
|
||||
|
||||
Reference in New Issue
Block a user