fixes #10952, UNC paths (#11260)

This commit is contained in:
Miran 2019-05-16 21:06:05 +02:00 • committed by Andreas Rumpf
commit 8f198db2ca
2 changed files with 13 additions and 1 deletions

9
tests/stdlib/tos_unc.nim Normal file
View file

@ -0,0 +1,9 @@
discard """
disabled: "posix"
"""
# bug 10952, UNC paths
import os
doAssert r"\\hostname\foo\bar" / "baz" == r"\\hostname\foo\bar\baz"
doAssert r"\\?\C:\foo" / "bar" == r"\\?\C:\foo\bar"