Skip to content

Commit 180571b

Browse files
committed
add test
1 parent 8cf94cd commit 180571b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/llrt_path/src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,11 @@ mod tests {
773773
.to_string_lossy()
774774
.to_string()
775775
); // Start with ..
776+
777+
assert_eq!(
778+
resolve_path(["../".repeat(32)].iter()).unwrap(),
779+
prefix.clone()
780+
); // Many ..
776781
}
777782

778783
#[test]

0 commit comments

Comments
 (0)