Provide a keyboard shortcut to sync all existing albums with MusicBrainz #167

Merged
wojtek merged 13 commits from 166---provide-a-keyboard-shortcut-to-sync-all-existing-albums-with-musicbrainz into main 2024-08-27 17:55:53 +02:00
Showing only changes of commit 9b30e7f69e - Show all commits

View File

@ -127,7 +127,10 @@ impl<MH: IMusicHoard> IAppInteractMatches for AppMachine<MH, AppMatches> {
mod tests {
use musichoard::collection::album::{AlbumDate, AlbumId, AlbumPrimaryType, AlbumSecondaryType};
use crate::tui::app::{machine::tests::{inner, music_hoard}, IAppAccess};
use crate::tui::app::{
machine::tests::{inner, music_hoard},
IAppAccess,
};
use super::*;
@ -215,7 +218,10 @@ mod tests {
let public_matches = public.state.unwrap_matches();
assert_eq!(public_matches.matching, Some(&matches_info_vec[0].matching));
assert_eq!(public_matches.matches, Some(matches_info_vec[0].matches.as_slice()));
assert_eq!(
public_matches.matches,
Some(matches_info_vec[0].matches.as_slice())
);
assert_eq!(public_matches.state, &widget_state);
}
@ -255,7 +261,6 @@ mod tests {
matches.select().unwrap_browse();
}
#[test]
fn matches_abort() {
let matches_info_vec = matches_info_vec();