@@ -23,7 +23,7 @@ my $uncpath = IO::Path::Cygwin.new("\\\\server\\share\\");
23
23
is $ uncpath . volume , " //server/share" , ' volume "//server/share/" -> ""/server/share"' ;
24
24
is $ uncpath . directory, " /" , ' directory "\\\\ server\\ share\\ " -> "\\ "' ;
25
25
is $ uncpath . basename , " /" , ' basename "\\\\ server\\ share\\ " -> "\\ "' ;
26
- is $ uncpath . Str , " // server/ share" , ' "\\\\ server\\ share" restringifies "//server/share" ' ;
26
+ is $ uncpath . Str , " \\\\ server\\ share\\ " , ' "\\\\ server\\ share" restringifies to itself ' ;
27
27
28
28
my $ uncpath2 = IO ::Path::Cygwin. new (" //server/share/a" );
29
29
is $ uncpath2 . volume , " //server/share" , ' volume "//server/share/a" -> ""//server/share"' ;
@@ -50,7 +50,7 @@ ok IO::Path::Cygwin.new("A:b").is-relative, '"A:b" is relative';
50
50
51
51
52
52
is $ relpath . absolute, IO ::Spec::Cygwin. canonpath(" $ * CWD /foo/bar" ), " absolute path from \$*CWD" ;
53
- is $ relpath . absolute(" \\ usr" ), " /usr/foo/bar" , " absolute path specified" ;
53
+ is $ relpath . absolute(" / usr" ), " /usr/foo/bar" , " absolute path specified" ;
54
54
is IO ::Path::Cygwin. new (" /usr/bin" ). relative(" /usr" ), " bin" , " relative path specified" ;
55
55
is $ relpath . absolute. relative, " foo/bar" , " relative inverts absolute" ;
56
56
is $ relpath . absolute(" /foo" ). relative(" \\ foo" ), " foo/bar" , " absolute inverts relative" ;
0 commit comments