@@ -36,7 +36,7 @@ mod tests {
|
|||||||
assert!(dest.exists());
|
assert!(dest.exists());
|
||||||
let content = fs::read_to_string(&dest).unwrap();
|
let content = fs::read_to_string(&dest).unwrap();
|
||||||
assert_eq!(content, "local");
|
assert_eq!(content, "local");
|
||||||
|
|
||||||
// The dest should be in the /tmp directory
|
// The dest should be in the /tmp directory
|
||||||
assert!(dest.starts_with("/tmp"));
|
assert!(dest.starts_with("/tmp"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user