diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-18 18:51:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-18 18:51:01 +0900 |
| commit | 134acc52c0f339dd8bf96d4ffc508cdebe66b7d2 (patch) | |
| tree | 8e49a78301adf0ae75412fa820c69d4a1e6cc880 /crates/shirabe/tests/installer/installation_manager_test.rs | |
| parent | 8cf9f977d90d0a8e8bfcb868a7ebcd4e1309c517 (diff) | |
| download | php-shirabe-134acc52c0f339dd8bf96d4ffc508cdebe66b7d2.tar.gz php-shirabe-134acc52c0f339dd8bf96d4ffc508cdebe66b7d2.tar.zst php-shirabe-134acc52c0f339dd8bf96d4ffc508cdebe66b7d2.zip | |
chore: rustfmt
Diffstat (limited to 'crates/shirabe/tests/installer/installation_manager_test.rs')
| -rw-r--r-- | crates/shirabe/tests/installer/installation_manager_test.rs | 20 |
1 files changed, 16 insertions, 4 deletions
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] |
