---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: NJ66
input: "---\n- { single line: value}\n- { multi\n  line: value}\n"
diagnostics:

cst:
YAML_STREAM@0..53
  YAML_DOCUMENT@0..53
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_SEQUENCE@4..53
      YAML_BLOCK_SEQUENCE_ITEM@4..28
        YAML_BLOCK_SEQ_ENTRY@4..5 "-"
        WHITESPACE@5..6 " "
        YAML_FLOW_MAP@6..27
          YAML_FLOW_INDICATOR@6..7 "{"
          WHITESPACE@7..8 " "
          YAML_FLOW_MAP_ENTRY@8..26
            YAML_FLOW_MAP_KEY@8..20
              YAML_SCALAR@8..19
                YAML_SCALAR_TEXT@8..19 "single line"
              YAML_COLON@19..20 ":"
            YAML_FLOW_MAP_VALUE@20..26
              WHITESPACE@20..21 " "
              YAML_SCALAR@21..26
                YAML_SCALAR_TEXT@21..26 "value"
          YAML_FLOW_INDICATOR@26..27 "}"
        NEWLINE@27..28 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@28..53
        YAML_BLOCK_SEQ_ENTRY@28..29 "-"
        WHITESPACE@29..30 " "
        YAML_FLOW_MAP@30..52
          YAML_FLOW_INDICATOR@30..31 "{"
          WHITESPACE@31..32 " "
          YAML_SCALAR@32..44
            YAML_SCALAR_TEXT@32..37 "multi"
            NEWLINE@37..38 "\n"
            YAML_SCALAR_TEXT@38..44 "  line"
          YAML_FLOW_MAP_ENTRY@44..51
            YAML_FLOW_MAP_KEY@44..45
              YAML_COLON@44..45 ":"
            YAML_FLOW_MAP_VALUE@45..51
              WHITESPACE@45..46 " "
              YAML_SCALAR@46..51
                YAML_SCALAR_TEXT@46..51 "value"
          YAML_FLOW_INDICATOR@51..52 "}"
        NEWLINE@52..53 "\n"
