yaml / yaml-test-suite

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

Is there an error in 4H7K #123

Open Ygg01 opened 1 year ago

Ygg01 commented 1 year ago

Looking at lines https://github.com/yaml/yaml-test-suite/blob/0008afd910392b061bdccd401748e0c25e774d76/src/4H7K.yaml#L9-L17

Why is it +SEQ and not +SEQ []?

perlpunk commented 1 year ago

That's an oversight, thanks. We are now generating the event list automatically with the reference parser, but only in the case of valid test cases. For invalid cases the process is still half manual, because the reference parser doesn't support returning the parsed events in case of invalid input.