PureYAML/Tests/Fixtures
Mihaela Mihaljevic 71e53b7a4c fix(parsing): strip trailing fold from flow plain scalars
A plain scalar inside a flow collection whose next line begins with a flow indicator (',' ']' '}') or the ':' value indicator was retaining the folded line break as a trailing space, so [\nfoo: bar\n] produced the value 'bar ' instead of 'bar'. YAML 1.2 section 7.3.3 strips trailing whitespace from a plain scalar; end the scalar at such a line without folding the break.

Derived from the plain-scalar production, not pattern-matched per case, and verified against the canonical event gate (exact test.event comparison): fixes 4FJ6, 4MUZ/02, CT4Q, LP6E, NKF9, QF4Y, VJP3/01, Y79Y/002, ZF4X, and ZK9H with zero regressions. Exact canonical-event conformance rises from 254 to 264 of 308 valid cases. Adds a gated triage diagnostic to the event gate.
2026-06-24 02:01:08 +02:00
..
acme test(corpus): add remaining acme catalog fixtures 2026-06-06 08:16:37 +02:00
real-yaml test(corpus): add public real yaml seeds 2026-06-06 08:24:12 +02:00
validation-failures Harden parser against real YAML fixtures 2026-06-05 19:34:30 +02:00
yaml-test-suite feat(parsing): add authoritative canonical-event conformance gate 2026-06-24 01:24:24 +02:00
MANIFEST.md test(corpus): add real yaml corpus manifest 2026-06-06 08:03:21 +02:00
real-yaml-corpus.yaml test(corpus): add real yaml corpus manifest 2026-06-06 08:03:21 +02:00
yaml-test-suite-manifest.yaml fix(parsing): strip trailing fold from flow plain scalars 2026-06-24 02:01:08 +02:00