---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: CFD4
input: "- [ : empty key ]\n- [: another empty key]\n"
diagnostics:

cst:
YAML_STREAM@0..42
  YAML_DOCUMENT@0..42
    YAML_BLOCK_SEQUENCE@0..42
      YAML_BLOCK_SEQUENCE_ITEM@0..18
        YAML_BLOCK_SEQ_ENTRY@0..1 "-"
        WHITESPACE@1..2 " "
        YAML_FLOW_SEQUENCE@2..17
          YAML_FLOW_INDICATOR@2..3 "["
          WHITESPACE@3..4 " "
          YAML_FLOW_SEQUENCE_ITEM@4..16
            YAML_COLON@4..5 ":"
            WHITESPACE@5..6 " "
            YAML_SCALAR@6..16
              YAML_SCALAR_TEXT@6..16 "empty key "
          YAML_FLOW_INDICATOR@16..17 "]"
        NEWLINE@17..18 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@18..42
        YAML_BLOCK_SEQ_ENTRY@18..19 "-"
        WHITESPACE@19..20 " "
        YAML_FLOW_SEQUENCE@20..41
          YAML_FLOW_INDICATOR@20..21 "["
          YAML_FLOW_SEQUENCE_ITEM@21..40
            YAML_COLON@21..22 ":"
            WHITESPACE@22..23 " "
            YAML_SCALAR@23..40
              YAML_SCALAR_TEXT@23..40 "another empty key"
          YAML_FLOW_INDICATOR@40..41 "]"
        NEWLINE@41..42 "\n"
