---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 7TMG
input: "---\n[ word1\n# comment\n, word2]\n"
diagnostics:

cst:
YAML_STREAM@0..31
  YAML_DOCUMENT@0..31
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_FLOW_SEQUENCE@4..30
      YAML_FLOW_INDICATOR@4..5 "["
      WHITESPACE@5..6 " "
      YAML_FLOW_SEQUENCE_ITEM@6..22
        YAML_SCALAR@6..11
          YAML_SCALAR_TEXT@6..11 "word1"
        NEWLINE@11..12 "\n"
        YAML_COMMENT@12..21 "# comment"
        NEWLINE@21..22 "\n"
      YAML_FLOW_INDICATOR@22..23 ","
      WHITESPACE@23..24 " "
      YAML_FLOW_SEQUENCE_ITEM@24..29
        YAML_SCALAR@24..29
          YAML_SCALAR_TEXT@24..29 "word2"
      YAML_FLOW_INDICATOR@29..30 "]"
    NEWLINE@30..31 "\n"
