Adding album tests #13

Merged
phoenix merged 7 commits from album_tests into devel 2025-03-22 21:19:08 +00:00
Showing only changes of commit 4bb340c648 - Show all commits

View File

@@ -31,7 +31,6 @@ mod utils {
mod song_tests { mod song_tests {
use std::fs::File; use std::fs::File;
use std::io::Write; use std::io::Write;
// use std::io::{Read, Write};
use tempfile::tempdir; use tempfile::tempdir;
@@ -164,7 +163,6 @@ mod album_tests {
let album_file: String = test_dir + &String::from("album.json"); let album_file: String = test_dir + &String::from("album.json");
println!("Album file: {:?}", album_file); println!("Album file: {:?}", album_file);
// let album = Album::default();
match album::collection::parse_album(&album_file) { match album::collection::parse_album(&album_file) {
Ok(album) => { Ok(album) => {
println!("Album title: {}", album.title); println!("Album title: {}", album.title);