Fix coverage
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 1m40s
Cargo CI / Lint (pull_request) Successful in 1m14s

This commit is contained in:
Wojciech Kozlowski 2024-03-01 07:23:27 +01:00
parent 05cdd71c2b
commit 84fe0930a4
2 changed files with 7 additions and 1 deletions

View File

@ -954,4 +954,10 @@ mod tests {
assert_eq!(actual_err, expected_err); assert_eq!(actual_err, expected_err);
assert_eq!(actual_err.to_string(), expected_err.to_string()); assert_eq!(actual_err.to_string(), expected_err.to_string());
} }
#[test]
fn empty() {
let music_hoard = MusicHoard::empty();
assert!(!format!("{music_hoard:?}").is_empty());
}
} }

View File

@ -85,7 +85,7 @@ mod tests {
#[test] #[test]
fn no_library_no_database() { fn no_library_no_database() {
MusicHoardBuilder::default(); MusicHoardBuilder::default().build();
} }
#[test] #[test]