Skip to content

Commit ccf6c78

Browse files
committed
Fixes mistakes
1 parent 2dd5a0b commit ccf6c78

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/lib_tests.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,5 @@ mod tests {
212212
panic!("Unexpected resolve failed");
213213
}
214214
}
215-
216-
panic!("test");
217215
}
218216
}

src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)