aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/json/json_file_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-22 02:33:21 +0900
committernsfisis <nsfisis@gmail.com>2026-06-22 02:34:14 +0900
commit9506cfafe29417a5c4149cf618f7e8c79d463e4e (patch)
tree357f8ef9b0436c6aee9c1b883c1f8223f83520ea /crates/shirabe/tests/json/json_file_test.rs
parent822d9a872807a92a5337ee8b7bab96dc9845cdbb (diff)
downloadphp-shirabe-9506cfafe29417a5c4149cf618f7e8c79d463e4e.tar.gz
php-shirabe-9506cfafe29417a5c4149cf618f7e8c79d463e4e.tar.zst
php-shirabe-9506cfafe29417a5c4149cf618f7e8c79d463e4e.zip
test: un-ignore tests that now pass
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/json/json_file_test.rs')
-rw-r--r--crates/shirabe/tests/json/json_file_test.rs8
1 files changed, 0 insertions, 8 deletions
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();