From 2b51554ff59d1e5cbf8dd2db65d278b0202a9102 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 27 Jun 2026 03:52:05 +0900 Subject: refactor: fix compiler warnings and clippy warnings --- crates/shirabe/tests/repository/vcs_repository_test.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/shirabe/tests/repository/vcs_repository_test.rs') diff --git a/crates/shirabe/tests/repository/vcs_repository_test.rs b/crates/shirabe/tests/repository/vcs_repository_test.rs index 279db04..e3b0e84 100644 --- a/crates/shirabe/tests/repository/vcs_repository_test.rs +++ b/crates/shirabe/tests/repository/vcs_repository_test.rs @@ -26,10 +26,7 @@ struct SetUp { // ref: VcsRepositoryTest::initialize. Builds a fixture git repository on disk by shelling out to // git. Returns None when git is unavailable (mirroring markTestSkipped). fn set_up() -> Option { - if which_git().is_none() { - // 'This test needs a git binary in the PATH to be able to run' - return None; - } + which_git()?; let composer_home = TempDir::new().unwrap(); let git_repo = TempDir::new().unwrap(); -- cgit v1.3.1