summary refs log tree commit diff stats
path: root/lib/impure/osinfo_win.nim
Commit message (Expand)AuthorAgeFilesLines
* c2nim tool addedAndreas Rumpf2010-07-211-0/+399
om> 2023-04-21 21:37:58 +0800 committer GitHub <noreply@github.com> 2023-04-21 15:37:58 +0200 stdlib tests now check refc too (#21664)' href='/ahoang/Nim/commit/tests/stdlib/tos_unc.nim?h=devel&id=4fa86422c057ae0615a6f06a6fd0a538e1bce029'>4fa86422c ^
8f198db2c ^




3d2f0e2c7 ^
8f198db2c ^


1
2
3
4
5
6
7
8
9
10
11
           
                               




                      
                     


                                                                   
discard """
  matrix: "--mm:refc; --mm:orc"
  disabled: "posix"
"""

# bug 10952, UNC paths
import os
import std/assertions

doAssert r"\\hostname\foo\bar" / "baz" == r"\\hostname\foo\bar\baz"
doAssert r"\\?\C:\foo" / "bar" == r"\\?\C:\foo\bar"