Skip to content

Commit

Permalink
test: change paths for reflinks
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoaldamav committed Oct 26, 2023
1 parent cecc9c6 commit 730660f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ mod tests {
fn test_reflink_file_sync() {
// Create a temporary directory inside the Current Working Directory
let tmp_dir = Builder::new()
.prefix("test_reflink_file_sync")
.prefix("test_reflink")
.tempdir_in(std::env::current_dir().unwrap())
.unwrap();
let src = tmp_dir.path().join("test_reflink_file_sync_src");
let dest = tmp_dir.path().join("test_reflink_file_sync_dest");
let src = tmp_dir.path().join("src.txt");
let dest = tmp_dir.path().join("dest.txt");

// Create a file
create_file(src.to_str().unwrap());
Expand Down

0 comments on commit 730660f

Please sign in to comment.