X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/5732d284ebc2cc2cbde0f050443b8f137dbf585b..b03284133baa6339fe4adf48e4a6499ef3ac287b:/src/file_handler/file_strategies/file.rs diff --git a/src/file_handler/file_strategies/file.rs b/src/file_handler/file_strategies/file.rs index 601be87..c3c3016 100644 --- a/src/file_handler/file_strategies/file.rs +++ b/src/file_handler/file_strategies/file.rs @@ -104,7 +104,7 @@ mod tests { // 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); } @@ -115,7 +115,7 @@ mod tests { 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 }", @@ -160,7 +160,7 @@ mod tests { // 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); } @@ -186,7 +186,7 @@ mod tests { // 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); } }