diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/shirabe/tests/json/json_formatter_test.rs | 16 | ||||
| -rw-r--r-- | crates/shirabe/tests/json/main.rs | 1 |
2 files changed, 17 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!() +} diff --git a/crates/shirabe/tests/json/main.rs b/crates/shirabe/tests/json/main.rs index a98ebc5..b26779f 100644 --- a/crates/shirabe/tests/json/main.rs +++ b/crates/shirabe/tests/json/main.rs @@ -1 +1,2 @@ +mod json_formatter_test; mod json_validation_exception_test; |
