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/json/json_file_test.rs | 8 -------- crates/shirabe/tests/json/json_manipulator_test.rs | 2 -- 2 files changed, 10 deletions(-) (limited to 'crates/shirabe/tests/json') diff --git a/crates/shirabe/tests/json/json_file_test.rs b/crates/shirabe/tests/json/json_file_test.rs index 0224ae6..e8d87a3 100644 --- a/crates/shirabe/tests/json/json_file_test.rs +++ b/crates/shirabe/tests/json/json_file_test.rs @@ -182,35 +182,30 @@ fn test_unicode() { } #[test] -#[ignore] fn test_only_unicode() { let data = PhpMixed::String("\\/ƌ".to_string()); assert_json_format("\"\\\\\\/ƌ\"", &data, Some(unescaped_unicode_only())); } #[test] -#[ignore] fn test_escaped_slashes() { let data = PhpMixed::String("\\/foo".to_string()); assert_json_format("\"\\\\\\/foo\"", &data, Some(JsonEncodeOptions::none())); } #[test] -#[ignore] fn test_escaped_backslashes() { let data = PhpMixed::String("a\\b".to_string()); assert_json_format("\"a\\\\b\"", &data, Some(JsonEncodeOptions::none())); } #[test] -#[ignore] fn test_escaped_unicode() { let data = PhpMixed::String("ƌ".to_string()); assert_json_format("\"\\u018c\"", &data, Some(JsonEncodeOptions::none())); } #[test] -#[ignore] fn test_double_escaped_unicode() { let data = PhpMixed::List(vec![ PhpMixed::String("Zdjęcia".to_string()), @@ -515,7 +510,6 @@ fn merge_conflict_simple_data() -> PhpMixed { } #[test] -#[ignore] fn test_composer_lock_file_merge_conflict_simple() { let data = merge_conflict_simple_data(); let json = @@ -527,7 +521,6 @@ fn test_composer_lock_file_merge_conflict_simple() { } #[test] -#[ignore] fn test_composer_lock_file_merge_conflict_simple_crlf() { let data = merge_conflict_simple_data(); let json = @@ -563,7 +556,6 @@ fn test_composer_lock_file_merge_conflict_complex_crlf() { } #[test] -#[ignore] fn test_composer_lock_file_merge_conflict_extended() { let data = std::fs::read_to_string(fixture_path("composer-lock-merge-conflict-extended.txt")).unwrap(); diff --git a/crates/shirabe/tests/json/json_manipulator_test.rs b/crates/shirabe/tests/json/json_manipulator_test.rs index 96b74f7..d303346 100644 --- a/crates/shirabe/tests/json/json_manipulator_test.rs +++ b/crates/shirabe/tests/json/json_manipulator_test.rs @@ -3869,7 +3869,6 @@ fn test_remove_config_setting_can_remove_sub_key_in_hash_with_siblings() { } #[test] -#[ignore] fn test_add_main_key() { let mut manipulator = JsonManipulator::new( r#"{ @@ -4183,7 +4182,6 @@ fn test_remove_main_key_removes_key_where_value_is_null() { } #[test] -#[ignore] fn test_indent_detection() { let mut manipulator = JsonManipulator::new("{\n\n \"require\": {\n \"php\": \"5.*\"\n }\n}".to_string()) -- cgit v1.3.1