aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/git_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-25 16:45:48 +0900
committernsfisis <nsfisis@gmail.com>2026-06-26 00:20:05 +0900
commit291b43d132749a61918dca23acef1b639c5333a7 (patch)
tree7c21aea3d2940df0f97a506a1abe0701a09d912e /crates/shirabe/tests/util/git_test.rs
parentf5f429dbae0a3e2d8224c0b1e4edcef54805d286 (diff)
downloadphp-shirabe-291b43d132749a61918dca23acef1b639c5333a7.tar.gz
php-shirabe-291b43d132749a61918dca23acef1b639c5333a7.tar.zst
php-shirabe-291b43d132749a61918dca23acef1b639c5333a7.zip
test: un-ignore 14 tests unblocked by CurlDownloader and regex fixes
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/util/git_test.rs')
-rw-r--r--crates/shirabe/tests/util/git_test.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/shirabe/tests/util/git_test.rs b/crates/shirabe/tests/util/git_test.rs
index 6d615c5..7e382b5 100644
--- a/crates/shirabe/tests/util/git_test.rs
+++ b/crates/shirabe/tests/util/git_test.rs
@@ -109,7 +109,6 @@ fn test_run_command_public_git_hub_repository_not_initial_clone_https() {
}
#[test]
-#[ignore = "reaches Git::throw_exception -> Url::sanitize, whose preg pattern fails to parse in the regex crate (preg shim bug, unrelated to this test); production Url::sanitize must be fixed first"]
fn test_run_command_private_git_hub_repository_not_initial_clone_not_interactive_without_authentication()
{
let command_callable: Box<dyn Fn(&str) -> Vec<String>> = Box::new(|url: &str| {
@@ -269,7 +268,6 @@ fn run_command_private_bitbucket_with_authentication(
}
#[test]
-#[ignore = "after the first failing git command, Bitbucket::new constructs a real HttpDownloader -> CurlDownloader::new -> curl_multi_init(), which is todo!() in the curl shim; needs the curl shim or an injected HttpDownloader mock on Git"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication_ssh_token()
{
run_command_private_bitbucket_with_authentication(
@@ -282,7 +280,6 @@ fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interacti
}
#[test]
-#[ignore = "after the first failing git command, Bitbucket::new constructs a real HttpDownloader -> CurlDownloader::new -> curl_multi_init(), which is todo!() in the curl shim; needs the curl shim or an injected HttpDownloader mock on Git"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication_https_token()
{
run_command_private_bitbucket_with_authentication(
@@ -295,7 +292,6 @@ fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interacti
}
#[test]
-#[ignore = "after the first failing git command, Bitbucket::new constructs a real HttpDownloader -> CurlDownloader::new -> curl_multi_init(), which is todo!() in the curl shim; needs the curl shim or an injected HttpDownloader mock on Git"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication_https_git_token()
{
run_command_private_bitbucket_with_authentication(
@@ -320,7 +316,6 @@ fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interacti
}
#[test]
-#[ignore = "after the first failing git command, Bitbucket::new constructs a real HttpDownloader -> CurlDownloader::new -> curl_multi_init(), which is todo!() in the curl shim; needs the curl shim or an injected HttpDownloader mock on Git"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication_https_no_token()
{
run_command_private_bitbucket_with_authentication(
@@ -333,7 +328,6 @@ fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interacti
}
#[test]
-#[ignore = "after the first failing git command, Bitbucket::new constructs a real HttpDownloader -> CurlDownloader::new -> curl_multi_init(), which is todo!() in the curl shim; needs the curl shim or an injected HttpDownloader mock on Git"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication_https_git_no_token()
{
run_command_private_bitbucket_with_authentication(
@@ -346,7 +340,6 @@ fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interacti
}
#[test]
-#[ignore = "after the first failing git command, Bitbucket::new constructs a real HttpDownloader -> CurlDownloader::new -> curl_multi_init(), which is todo!() in the curl shim; needs the curl shim or an injected HttpDownloader mock on Git"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication_atat_token()
{
run_command_private_bitbucket_with_authentication(
@@ -421,7 +414,6 @@ fn test_sync_mirror_sanitizes_url_after_initial_clone() {
}
#[test]
-#[ignore = "the failed-update branch reaches Git::throw_exception -> Url::sanitize, whose preg pattern fails to parse in the regex crate (preg shim bug, unrelated to this test); production Url::sanitize must be fixed first"]
fn test_sync_mirror_sanitizes_url_even_after_failed_update() {
let dir = std::env::temp_dir().display().to_string();