Formatting
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m57s
Cargo CI / Lint (pull_request) Successful in 1m5s

This commit is contained in:
Wojciech Kozlowski 2024-08-27 17:45:34 +02:00
parent a9b57258aa
commit 9b30e7f69e

View File

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