relativePath("foo", "foo") is now ".", not "" (#13452)

This commit is contained in:
Timothee Cour 2020-02-22 00:07:53 -08:00 • committed by GitHub
commit a43583f9c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 8 deletions

View file

@ -22,4 +22,7 @@ import unicode
import uri
import macros
block:
doAssert "./foo//./bar/".normalizedPath == "foo/bar".unixToNativePath
echo "Nimscript imports are successful."