added_types #26

Merged
phoenix merged 5 commits from added_types into devel 2025-04-19 21:19:03 +00:00
Showing only changes of commit 7bd72c4687 - Show all commits

View File

@@ -957,7 +957,11 @@ mod tests {
assert!(found, "Meta information was not found {:?}", track_total);
let new_track_total = String::from("5");
match set_meta(types::Type::TrackCount, &new_filepath, &new_track_total) {
match set_meta(
types::Type::TrackCount,
&new_filepath,
&new_track_total,
) {
Ok(m) => {
assert_eq!(
new_track_total, m,
@@ -1010,9 +1014,17 @@ mod tests {
assert!(found, "Meta information was not found {:?}", disc_total);
let new_disc_total = String::from("2");
match set_meta(types::Type::DiscCount, &new_filepath, &new_disc_total) {
match set_meta(
types::Type::DiscCount,
&new_filepath,
&new_disc_total,
) {
Ok(m) => {
assert_eq!(new_disc_total, m, "New disc_total does not match {:?}", m);
assert_eq!(
new_disc_total, m,
"New disc_total does not match {:?}",
m
);
}
Err(err) => {
assert!(false, "Error: {:?}", err);