---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: BEC7
input: "%YAML 1.3 # Attempt parsing\n          # with a warning\n---\n\"foo\"\n"
diagnostics:

cst:
YAML_STREAM@0..65
  YAML_DOCUMENT@0..65
    YAML_DIRECTIVE@0..27 "%YAML 1.3 # Attempt p ..."
    NEWLINE@27..28 "\n"
    WHITESPACE@28..38 "          "
    YAML_COMMENT@38..54 "# with a warning"
    NEWLINE@54..55 "\n"
    YAML_DOCUMENT_START@55..58 "---"
    NEWLINE@58..59 "\n"
    YAML_SCALAR@59..64
      YAML_SCALAR_TEXT@59..64 "\"foo\""
    NEWLINE@64..65 "\n"
