File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,5 @@ mod tests {
212212 panic ! ( "Unexpected resolve failed" ) ;
213213 }
214214 }
215-
216- panic ! ( "test" ) ;
217215 }
218216}
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ mod tests {
110110 assert_eq ! ( normalize_path( "../foo" ) , "../foo" ) ;
111111 assert_eq ! ( normalize_path( "../D:/foo" ) , "../D:/foo" ) ;
112112 assert_eq ! ( normalize_path( "/foo/bar" ) , "/foo/bar" ) ;
113- assert_eq ! ( normalize_path( "/../foo/bar" ) , "/foo/bar" ) ;
114113 assert_eq ! ( normalize_path( "/foo/../../bar/baz" ) , "/bar/baz" ) ;
115114 assert_eq ! ( normalize_path( "/../foo/bar" ) , "/foo/bar" ) ;
115+ assert_eq ! ( normalize_path( "/../foo/bar//" ) , "/foo/bar/" ) ;
116116 assert_eq ! ( normalize_path( "/foo/bar/" ) , "/foo/bar/" ) ;
117117 }
118118}
You can’t perform that action at this time.
0 commit comments