mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
lint
This commit is contained in:
@@ -94,11 +94,11 @@ mod test {
|
||||
#[test]
|
||||
fn absolutize_path() {
|
||||
assert_eq!(
|
||||
absolutize(&Path::new("/home/omar"), &Path::new("readme.txt")).as_path(),
|
||||
absolutize(Path::new("/home/omar"), Path::new("readme.txt")).as_path(),
|
||||
Path::new("/home/omar/readme.txt")
|
||||
);
|
||||
assert_eq!(
|
||||
absolutize(&Path::new("/home/omar"), &Path::new("/tmp/readme.txt")).as_path(),
|
||||
absolutize(Path::new("/home/omar"), Path::new("/tmp/readme.txt")).as_path(),
|
||||
Path::new("/tmp/readme.txt")
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user