Closed hvr closed 6 years ago
Good catch! Yeah, I think we should change the test (and the example in the spec)
maybe it'd be even worth adding adding a %YAML1.2
test-case to the "invalid" test-set?
yes, that makes sense
I'm adding an error test for %YAML1.2
right now
tested and pushed, closing, thanks =)
This test-case is taken from the YAML 1.2 spec, i.e. from http://yaml.org/spec/1.2/spec.html#id2801606 and contains the YAML document(s)
The relevant productions are
Iow,
s-separate-in-line
demands a whitespace betweenYAML
and1.2
To me this looks like a typo in the example YAML, as it's the only occurence throughout the spec where a white-space was omitted.