yaml / yaml-test-suite

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

Add a tool to convert `<ABC>` to single unicode chars #87

Closed ingydotnet closed 2 years ago

ingydotnet commented 2 years ago

<SPC> or <S> converts to · <TAB> or <T> converts to ———» ——» —» or » (4 column tab width) <BOM> or <B> converts to <CR> or <C> converts to (carriage return or \r)

The tabs show where they line up to, and spaces are single char. This makes tests easier to reason about. It also allows us to add BOMs and CRs.

And they can still be entered as ascii, for the unicode challenged.

The data branch after make data-update is not affected.