Code cleanup

This commit is contained in:
2025-10-11 15:38:34 -04:00
parent 37a0ca1d70
commit d9f8ec5428
2 changed files with 8 additions and 18 deletions

View File

@@ -132,15 +132,12 @@ mod song_tests {
};
match song::io::copy_song(&song, &mut copied_song) {
Ok(_) => {
match copied_song.remove_from_filesystem() {
Ok(_) => {
}
Err(err) => {
assert!(false, "Error: {err:?}")
}
Ok(_) => match copied_song.remove_from_filesystem() {
Ok(_) => {}
Err(err) => {
assert!(false, "Error: {err:?}")
}
}
},
Err(err) => {
assert!(false, "Error: {err:?}")
}