From 9506cfafe29417a5c4149cf618f7e8c79d463e4e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 22 Jun 2026 02:33:21 +0900 Subject: test: un-ignore tests that now pass Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/util/filesystem_test.rs | 12 ------------ crates/shirabe/tests/util/process_executor_test.rs | 2 -- 2 files changed, 14 deletions(-) (limited to 'crates/shirabe/tests/util') diff --git a/crates/shirabe/tests/util/filesystem_test.rs b/crates/shirabe/tests/util/filesystem_test.rs index 9e41b1f..f5896b0 100644 --- a/crates/shirabe/tests/util/filesystem_test.rs +++ b/crates/shirabe/tests/util/filesystem_test.rs @@ -350,7 +350,6 @@ fn provide_path_couples_as_code() ] } -#[ignore] #[test] fn test_find_shortest_path_code() { let fs = Filesystem::new(None); @@ -461,7 +460,6 @@ fn provide_path_couples() -> Vec<(&'static str, &'static str, &'static str, bool ] } -#[ignore] #[test] fn test_find_shortest_path() { let fs = Filesystem::new(None); @@ -473,7 +471,6 @@ fn test_find_shortest_path() { } } -#[ignore] #[test] fn test_remove_directory_php() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -492,7 +489,6 @@ fn test_remove_directory_php() { ))); } -#[ignore] #[test] fn test_file_size() { let unique_tmp = tempfile::TempDir::new().unwrap(); @@ -504,7 +500,6 @@ fn test_file_size() { assert!(fs.size(&test_file).unwrap() >= 5); } -#[ignore] #[test] fn test_directory_size() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -544,7 +539,6 @@ fn provide_normalized_paths() -> Vec<(&'static str, &'static str)> { ] } -#[ignore] #[test] fn test_normalize_path() { let fs = Filesystem::new(None); @@ -553,7 +547,6 @@ fn test_normalize_path() { } } -#[ignore] #[test] fn test_unlink_symlinked_directory() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -579,7 +572,6 @@ fn test_unlink_symlinked_directory() { assert!(!file_exists(&symlinked)); } -#[ignore] #[test] fn test_remove_symlinked_directory_with_trailing_slash() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -613,7 +605,6 @@ fn test_remove_symlinked_directory_with_trailing_slash() { assert!(!file_exists(&symlinked)); } -#[ignore] #[test] fn test_junctions() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -667,7 +658,6 @@ fn test_junctions() { assert!(!is_dir(&junction), "{junction} is not a directory"); } -#[ignore] #[test] fn test_override_junctions() { if !Platform::is_windows() { @@ -713,7 +703,6 @@ fn test_override_junctions() { ); } -#[ignore] #[test] fn test_copy() { let working_dir = tempfile::TempDir::new().unwrap(); @@ -769,7 +758,6 @@ fn test_copy() { assert!(file_exists(format!("{working_dir}/testfile.file"))); } -#[ignore] #[test] fn test_copy_then_remove() { let working_dir = tempfile::TempDir::new().unwrap(); diff --git a/crates/shirabe/tests/util/process_executor_test.rs b/crates/shirabe/tests/util/process_executor_test.rs index f17f162..e5ee7c2 100644 --- a/crates/shirabe/tests/util/process_executor_test.rs +++ b/crates/shirabe/tests/util/process_executor_test.rs @@ -54,7 +54,6 @@ fn test_execute_captures_stderr() { ); } -#[ignore] #[test] fn test_timeout() { ProcessExecutor::set_timeout(1_i64); @@ -199,7 +198,6 @@ fn data_escape_arguments() -> Vec<(&'static str, &'static str)> { ] } -#[ignore] #[test] fn test_escape_argument() { for (argument, unix) in data_escape_arguments() { -- cgit v1.3.1