From d02e79c0cddd986a0b2cef878f32bda39cc2f5e9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 04:30:31 +0900 Subject: test: port SecurityAdvisoryPoolFilter, downloader/command/app stubs All ignored/todo!(): the advisory filter parses affectedVersions via a look-around regex; the Hg/Fossil/Perforce/Archive downloaders and RepositoryManager need mocked process/HttpDownloader (curl); the Validate/ Archive commands, ApplicationTest and CompletionFunctionalTest need the ApplicationTester/console harness. setUp/tearDown not ported. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/repository/repository_factory_test.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/tests/repository/repository_factory_test.rs') diff --git a/crates/shirabe/tests/repository/repository_factory_test.rs b/crates/shirabe/tests/repository/repository_factory_test.rs index 8871f91..98e2c85 100644 --- a/crates/shirabe/tests/repository/repository_factory_test.rs +++ b/crates/shirabe/tests/repository/repository_factory_test.rs @@ -60,8 +60,10 @@ fn test_generate_repository_name() { .into_iter() .map(|(k, v)| (k.to_string(), v)) .collect(); - let existing_repos: IndexMap = - existing_keys.into_iter().map(|k| (k.to_string(), ())).collect(); + let existing_repos: IndexMap = existing_keys + .into_iter() + .map(|k| (k.to_string(), ())) + .collect(); assert_eq!( expected, -- cgit v1.3.1