From 134acc52c0f339dd8bf96d4ffc508cdebe66b7d2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 18 Jul 2026 18:51:01 +0900 Subject: chore: rustfmt --- .../tests/installer/installation_manager_test.rs | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'crates/shirabe/tests/installer/installation_manager_test.rs') diff --git a/crates/shirabe/tests/installer/installation_manager_test.rs b/crates/shirabe/tests/installer/installation_manager_test.rs index a39eaddf..26b8d7fa 100644 --- a/crates/shirabe/tests/installer/installation_manager_test.rs +++ b/crates/shirabe/tests/installer/installation_manager_test.rs @@ -326,7 +326,10 @@ fn test_install() { let operation = InstallOperation::new(package.clone()); let mut repository = InstalledArrayRepository::new().unwrap(); - run(manager.install(&std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), &operation)); + run(manager.install( + &std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), + &operation, + )); } #[test] @@ -358,7 +361,10 @@ fn test_update_with_equal_types() { let operation = UpdateOperation::new(initial.clone(), target.clone()); let mut repository = InstalledArrayRepository::new().unwrap(); - run(manager.update(&std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), &operation)); + run(manager.update( + &std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), + &operation, + )); } #[test] @@ -400,7 +406,10 @@ fn test_update_with_not_equal_types() { let operation = UpdateOperation::new(initial.clone(), target.clone()); let mut repository = InstalledArrayRepository::new().unwrap(); - run(manager.update(&std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), &operation)); + run(manager.update( + &std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), + &operation, + )); } #[test] @@ -428,7 +437,10 @@ fn test_uninstall() { let operation = UninstallOperation::new(package.clone()); let mut repository = InstalledArrayRepository::new().unwrap(); - run(manager.uninstall(&std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), &operation)); + run(manager.uninstall( + &std::cell::RefCell::new(&mut repository as &mut dyn InstalledRepositoryInterface), + &operation, + )); } #[test] -- cgit v1.3.1