tsk-44: Identify CoverArt type (#46)
Closes #44 Reviewed-on: #46 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
+5
-5
@@ -544,7 +544,7 @@ mod tests {
|
||||
|
||||
let temp_file = tempfile::tempdir().expect("Could not create test directory");
|
||||
let test_dir = String::from(temp_file.path().to_str().unwrap());
|
||||
let test_filename = String::from("track08.flac");
|
||||
let test_filename = util::generate_filename().unwrap();
|
||||
let new_filepath = test_dir + "/" + &test_filename;
|
||||
|
||||
match file_exists(&dir, &filename) {
|
||||
@@ -597,7 +597,7 @@ mod tests {
|
||||
|
||||
let temp_file = tempfile::tempdir().expect("Could not create test directory");
|
||||
let test_dir = String::from(temp_file.path().to_str().unwrap());
|
||||
let test_filename = String::from("track08.flac");
|
||||
let test_filename = util::generate_filename().unwrap();
|
||||
let new_filepath = test_dir + "/" + &test_filename;
|
||||
|
||||
match file_exists(&dir, &filename) {
|
||||
@@ -806,7 +806,7 @@ mod tests {
|
||||
|
||||
let temp_file = tempfile::tempdir().expect("Could not create test directory");
|
||||
let test_dir = String::from(temp_file.path().to_str().unwrap());
|
||||
let test_filename = String::from("track08.flac");
|
||||
let test_filename = util::generate_filename().unwrap();
|
||||
let new_filepath = test_dir + "/" + &test_filename;
|
||||
|
||||
match file_exists(&dir, &filename) {
|
||||
@@ -907,7 +907,7 @@ mod tests {
|
||||
|
||||
let temp_file = tempfile::tempdir().expect("Could not create test directory");
|
||||
let test_dir = String::from(temp_file.path().to_str().unwrap());
|
||||
let test_filename = String::from("track08.flac");
|
||||
let test_filename = util::generate_filename().unwrap();
|
||||
let new_filepath = test_dir + "/" + &test_filename;
|
||||
|
||||
match file_exists(&dir, &filename) {
|
||||
@@ -1021,7 +1021,7 @@ mod tests {
|
||||
|
||||
let temp_file = tempfile::tempdir().expect("Could not create test directory");
|
||||
let test_dir = String::from(temp_file.path().to_str().unwrap());
|
||||
let test_filename = String::from("track08.flac");
|
||||
let test_filename = util::generate_filename().unwrap();
|
||||
let new_filepath = test_dir + "/" + &test_filename;
|
||||
|
||||
match file_exists(&dir, &filename) {
|
||||
|
||||
Reference in New Issue
Block a user