aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/json/json_formatter_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/json/json_formatter_test.rs')
-rw-r--r--crates/shirabe/tests/json/json_formatter_test.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/shirabe/tests/json/json_formatter_test.rs b/crates/shirabe/tests/json/json_formatter_test.rs
index 78eb01b..328c942 100644
--- a/crates/shirabe/tests/json/json_formatter_test.rs
+++ b/crates/shirabe/tests/json/json_formatter_test.rs
@@ -1 +1,17 @@
//! ref: composer/tests/Composer/Test/Json/JsonFormatterTest.php
+
+/// Test if ę will get correctly formatted (unescaped)
+/// https://github.com/composer/composer/issues/2613
+#[test]
+#[ignore = "Composer\\Json\\JsonFormatter (json/json_formatter.rs) is not yet ported"]
+fn test_unicode_with_prepended_slash() {
+ todo!()
+}
+
+/// Surrogate pairs are intentionally skipped and not unescaped
+/// https://github.com/composer/composer/issues/7510
+#[test]
+#[ignore = "Composer\\Json\\JsonFormatter (json/json_formatter.rs) is not yet ported"]
+fn test_utf16_surrogate_pair() {
+ todo!()
+}