aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-28 15:27:08 +0900
committernsfisis <nsfisis@gmail.com>2026-06-28 15:27:08 +0900
commitb62e7052ca528c68e9175d607e0ae3921e0784d9 (patch)
tree66b5c30273d6f8ffe4885343883ae24cf38f2e93
parent3e33644e78fb03c469b556d06a4fbabaae0a57a8 (diff)
downloadphp-shirabe-b62e7052ca528c68e9175d607e0ae3921e0784d9.tar.gz
php-shirabe-b62e7052ca528c68e9175d607e0ae3921e0784d9.tar.zst
php-shirabe-b62e7052ca528c68e9175d607e0ae3921e0784d9.zip
test(json): drop JsonFormatterTest stub
JsonFormatter is intentionally unported in crates/shirabe/src/json, so the ignored todo!() stub test serves no purpose. Remove the file and its module declaration. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
-rw-r--r--crates/shirabe/tests/json/json_formatter_test.rs17
-rw-r--r--crates/shirabe/tests/json/main.rs1
2 files changed, 0 insertions, 18 deletions
diff --git a/crates/shirabe/tests/json/json_formatter_test.rs b/crates/shirabe/tests/json/json_formatter_test.rs
deleted file mode 100644
index b27f25b..0000000
--- a/crates/shirabe/tests/json/json_formatter_test.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-//! ref: composer/tests/Composer/Test/Json/JsonFormatterTest.php
-
-/// Test if ę will get correctly formatted (unescaped)
-/// https://github.com/composer/composer/issues/2613
-#[ignore = "JsonFormatter is not implemented in crates/shirabe/src/json"]
-#[test]
-fn test_unicode_with_prepended_slash() {
- todo!()
-}
-
-/// Surrogate pairs are intentionally skipped and not unescaped
-/// https://github.com/composer/composer/issues/7510
-#[ignore = "JsonFormatter is not implemented in crates/shirabe/src/json"]
-#[test]
-fn test_utf16_surrogate_pair() {
- todo!()
-}
diff --git a/crates/shirabe/tests/json/main.rs b/crates/shirabe/tests/json/main.rs
index a5a01c8..2841344 100644
--- a/crates/shirabe/tests/json/main.rs
+++ b/crates/shirabe/tests/json/main.rs
@@ -1,5 +1,4 @@
mod composer_schema_test;
mod json_file_test;
-mod json_formatter_test;
mod json_manipulator_test;
mod json_validation_exception_test;