PureYAML/Tests
Mihaela M 8112954f4c fix(parsing): end a root block scalar at a document marker
A `---` or `...` at column 0 ends an active block scalar rather than being
consumed as its content. The scanner now closes the scalar's indentation at the
marker, dedenting back to the document level, so the token stream stays balanced:
the dedent precedes the documentEnd. Previously the scalar's indent lingered past
the marker and surfaced as a stray late dedent plus a phantom empty document, and
a following directive was misread as a scalar.

Fixes suite case W4TN (parse-level conformance 315 -> 316); adds tests.
2026-06-29 08:57:39 +02:00
..
Fixtures
ACMEZephyrFixtureTests.swift
AdditionalCoverageTests.swift
AliasAsMappingKeyTests.swift fix(parsing): accept an alias node as an implicit mapping key 2026-06-29 03:35:56 +02:00
AliasPropertiesTests.swift
AnchoredIndentedNodeParsingTests.swift
AnchoredMappingKeyTests.swift
AnchorOnNullValueTests.swift fix(parsing): resolve an alias to an anchor on a null value 2026-06-29 02:56:17 +02:00
ArbitraryAnyDecisionTests.swift
BareDocumentAfterEndTests.swift
BlockEntryAfterFlowTests.swift
BlockScalarChompingTests.swift
BlockScalarDocumentBoundaryTests.swift fix(parsing): end a root block scalar at a document marker 2026-06-29 08:57:39 +02:00
BlockScalarIndentIndicatorTests.swift
BlockScalarLeadingBlankTabTests.swift fix(parsing): keep a tab on a leading blank of a block scalar 2026-06-29 01:52:58 +02:00
BlockScalarLeadingBlankTests.swift
BlockScalarPercentContentTests.swift fix(parsing): keep a leading percent in a block scalar literal 2026-06-29 05:04:32 +02:00
BlockScalarTabContentTests.swift
BlockScalarTrailingCommentTests.swift
BlockSequenceAfterPropertyTests.swift
CodableCompatibilityFixtures.swift
CodableCompatibilityTests.swift
CodableTypeMatrixTests.swift
CodingTests.swift
CollectionCompatibilityFixtures.swift
CommentInPlainScalarTests.swift
CommentWhitespaceTests.swift
CompactNestedSequenceTests.swift
ComplexMappingKeyCodableTests.swift
ComplexMappingKeyDumperTests.swift
ComplexMappingKeyParsingTests.swift
ComplexMappingKeyTestSupport.swift
ComplexMappingKeyValidationTests.swift
DiagnosticValidationReportTests.swift
DirectiveAfterDocumentEndTests.swift
DirectiveTests.swift
DocumentationExampleTests.swift
DocumentEndContentTests.swift
DocumentMarkerInScalarTests.swift
DocumentMarkerNodeTests.swift
DoubleQuotedEscapeTests.swift
DoubleQuotedFoldingTests.swift
DownstreamDocumentFixtures.swift
DownstreamDocumentTests.swift
DumperEmptyCollectionTests.swift
DumperTests.swift
EmitterCorpusTests.swift
EmptyBlockScalarChompingTests.swift
EmptyTaggedNodeTests.swift
EventStreamingParserTests.swift
ExplicitKeyMultilineFoldTests.swift
ExplicitKeyTests.swift
FlowCollectionAsMappingKeyTests.swift
FlowDashScalarTests.swift
FlowEmptyEntryTests.swift
FlowExplicitKeyTests.swift
FlowMappingEmptyKeyTests.swift fix(parsing): allow a flow mapping entry with no value 2026-06-29 01:42:02 +02:00
FlowMappingNoValueTests.swift fix(parsing): allow a flow mapping entry with no value 2026-06-29 01:42:02 +02:00
FlowSequenceEmptyKeyTests.swift
FoldedScalarBlankLineTests.swift
ImplicitNullKeyTests.swift fix(parsing): parse a property-only block mapping key as an empty key 2026-06-29 08:26:50 +02:00
IndicatorTabBoundaryTests.swift
InlineBlockSequenceValueTests.swift test(parsing): assert an explicit-key compact sequence's value 2026-06-29 07:23:57 +02:00
InlineKeyPropertyAnchorTests.swift fix(parsing): bind an inline first-key property to the key 2026-06-29 03:24:30 +02:00
InlineNestedMappingTests.swift
InlineSequenceItemContinuationTests.swift fix(parsing): end an inline item value at a sibling block entry 2026-06-29 02:09:57 +02:00
JSONCompatibilityTests.swift
KeyedCodingTests.swift
LiteralBlockEmissionFixtures.swift
MappingValueTabBoundaryTests.swift
MergeKeyCompatibilityTests.swift
ModelTests.swift
MultilineFlowKeyTests.swift fix(parsing): let a flow plain key span lines 2026-06-29 01:38:33 +02:00
MultilineImplicitKeyTests.swift
MultilinePropertyIndentTests.swift fix(parsing): carry spanned properties to a deeper indented node 2026-06-29 04:05:04 +02:00
NonCoreTagScalarResolutionTests.swift
NumericCodingLadderTests.swift
ParsingAliasTests.swift
ParsingCompatibilityTests.swift
ParsingErrorPathTests.swift
ParsingErrorTests.swift fix(parsing): accept a higher-minor %YAML version 2026-06-29 02:34:55 +02:00
ParsingEventTests.swift
ParsingIndentationRegressionTests.swift
ParsingMultilineScalarTests.swift
ParsingNestingLimitTests.swift
ParsingTests.swift
PerformancePhaseTests.swift
PlainScalarTabCommentTests.swift
PlainScalarTabFoldingTests.swift
PreflightScannerTests.swift
QuotedKeyTests.swift
RealYAMLCorpusPropertyTests.swift
RealYAMLCorpusTests.swift
RealYAMLFixtureTests.swift
RepeatedDocumentEndTests.swift fix(parsing): allow a repeated document-end marker 2026-06-29 08:32:26 +02:00
RootBlockScalarIndentationTests.swift
RoundTripDemonstrationTests.swift
ScalarCompatibilityFixtures.swift
ScannerTests.swift fix(parsing): accept a higher-minor %YAML version 2026-06-29 02:34:55 +02:00
SequencePropertyIndentTests.swift fix(parsing): bind an indented property to a zero-indent sequence 2026-06-29 03:44:53 +02:00
SingleQuotedFoldingTests.swift
StreamDumpingTests.swift
StreamParsingTests.swift
TaggedCompatibilityTests.swift
TaggedConstructorTests.swift
TaggedKeyUniquenessTests.swift
TaggedZeroIndentSequenceTests.swift fix(parsing): end a tagged zero-indent sequence at a sibling key 2026-06-29 04:48:47 +02:00
TestSupport.swift
UnkeyedCodingFixtures.swift
UnkeyedCodingTests.swift
UnkeyedContainerEdgeTests.swift
UnkeyedEncodingFixtures.swift
UnkeyedFailureFixtures.swift
UnsupportedYAMLGapsFixtures.swift
ValidationBuiltinRuleTests.swift
ValidationCheckMachineryTests.swift
ValidationCombinatorTests.swift
ValidationConfigurationTests.swift
ValidationCorpusFixtures.swift
ValidationCorpusSupport.swift
ValidationCorpusTests.swift
ValidationCoverageMetaTests.swift
ValidationFailureFixtureTests.swift
ValidationModelTests.swift
ValidationModeTests.swift
ValidationReportTests.swift
ValidationTests.swift
ValidationTestSupport.swift
ValueHashableTests.swift
ValuePropertyIndentationTests.swift
YAMLDirectiveTests.swift fix(parsing): accept a higher-minor %YAML version 2026-06-29 02:34:55 +02:00
YAMLTestSuiteConformanceTests.swift