File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ fn path_join_handling() {
38
38
let looks_absolute = p ( "/absolute" ) ;
39
39
assert ! (
40
40
looks_absolute. is_relative( ) ,
41
- "on Windows, absolute Linux paths are considered relative (and relative to the current drive)"
41
+ "on Windows, ' absolute' Linux paths are relative (and relative to the current drive)"
42
42
) ;
43
43
let bs_looks_absolute = p ( "\\ absolute" ) ;
44
44
assert ! (
@@ -48,12 +48,12 @@ fn path_join_handling() {
48
48
assert_eq ! (
49
49
p( "relative" ) . join( looks_absolute) ,
50
50
looks_absolute,
51
- "relative + absolute = absolute - however, they kind of act like they are absolute in conjunction with relative base paths "
51
+ "relative + unix- absolute = unix- absolute - the relative path without a drive is replaced "
52
52
) ;
53
53
assert_eq ! (
54
54
p( "relative" ) . join( bs_looks_absolute) ,
55
55
bs_looks_absolute,
56
- "relative + absolute = absolute - backslashes aren't special here, and it just acts like it's absolute "
56
+ "relative + unix- absolute = unix- absolute - the relative path without a drive is replaced - backslashes aren't special here "
57
57
) ;
58
58
59
59
assert_eq ! (
You can’t perform that action at this time.
0 commit comments