yaml / yaml-test-suite

Comprehensive, language independent Test Suite for YAML
MIT License
172 stars 58 forks source link

Missing tests for spec sections 5.13 and 5.14 (Escaped Characters) #129

Open andrewhickman opened 5 months ago

andrewhickman commented 5 months ago

Most of the examples from the spec are included as tests, but I notice 5.13 and 5.14 are absent.

In particular, I don't see any test in this suite which uses escaped 32-bit unicode characters like "\U00000041"

I'm happy to submit a PR, but I'm not sure how these test files are generated. Are the tree/dump/emit fields just handwritten?

perlpunk commented 5 months ago

I think for the current format we don't have a tool right now. We used a tool when the test files were still using the tml format. Maybe @ingydotnet knows a way?

ingydotnet commented 5 months ago

make new-test