---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: P2AD
input: "- | # Empty header↓\n literal\n- >1 # Indentation indicator↓\n  folded\n- |+ # Chomping indicator↓\n keep\n\n- >1- # Both indicators↓\n  strip\n"
diagnostics:

cst:
YAML_STREAM@0..143
  YAML_DOCUMENT@0..143
    YAML_BLOCK_SEQUENCE@0..143
      YAML_BLOCK_SEQUENCE_ITEM@0..31
        YAML_BLOCK_SEQ_ENTRY@0..1 "-"
        WHITESPACE@1..2 " "
        YAML_SCALAR@2..31
          YAML_SCALAR_TEXT@2..21 "| # Empty header↓"
          NEWLINE@21..22 "\n"
          YAML_SCALAR_TEXT@22..30 " literal"
          NEWLINE@30..31 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@31..72
        YAML_BLOCK_SEQ_ENTRY@31..32 "-"
        WHITESPACE@32..33 " "
        YAML_SCALAR@33..72
          YAML_SCALAR_TEXT@33..62 ">1 # Indentation indi ..."
          NEWLINE@62..63 "\n"
          YAML_SCALAR_TEXT@63..71 "  folded"
          NEWLINE@71..72 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@72..108
        YAML_BLOCK_SEQ_ENTRY@72..73 "-"
        WHITESPACE@73..74 " "
        YAML_SCALAR@74..108
          YAML_SCALAR_TEXT@74..100 "|+ # Chomping indicat ..."
          NEWLINE@100..101 "\n"
          YAML_SCALAR_TEXT@101..106 " keep"
          NEWLINE@106..107 "\n"
          NEWLINE@107..108 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@108..143
        YAML_BLOCK_SEQ_ENTRY@108..109 "-"
        WHITESPACE@109..110 " "
        YAML_SCALAR@110..143
          YAML_SCALAR_TEXT@110..134 ">1- # Both indicators↓"
          NEWLINE@134..135 "\n"
          YAML_SCALAR_TEXT@135..142 "  strip"
          NEWLINE@142..143 "\n"
