// Verify file contents are identical
let original = fs::read(&file.path).unwrap();
- let copied = fs::read(&copied_path).unwrap();
+ let copied = fs::read(copied_path).unwrap();
assert_eq!(original, copied);
}
let output_dir = test_dir.join("output");
create_dir_all(&source_dir).expect("Could not create source test directory");
create_dir_all(&output_dir).expect("Could not create output test directory");
- create_dir_all(&source_dir.join("nested")).expect("Could not create source test directory");
+ create_dir_all(source_dir.join("nested")).expect("Could not create source test directory");
create_test_file(
&source_dir.join("nested/style.css"),
"* { margin: 0; padding: 0 }",
// Verify file contents are identical
let original = fs::read(&file.path).unwrap();
- let copied = fs::read(&copied_path).unwrap();
+ let copied = fs::read(copied_path).unwrap();
assert_eq!(original, copied);
}
// Verify file contents are identical
let original = fs::read(&file.path).unwrap();
- let copied = fs::read(&copied_path).unwrap();
+ let copied = fs::read(copied_path).unwrap();
assert_eq!(original, copied);
}
}