---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: SYW4
input: "hr:  65    # Home runs\navg: 0.278 # Batting average\nrbi: 147   # Runs Batted In\n"
diagnostics:

cst:
YAML_STREAM@0..80
  YAML_DOCUMENT@0..80
    YAML_BLOCK_MAP@0..80
      YAML_BLOCK_MAP_ENTRY@0..23
        YAML_BLOCK_MAP_KEY@0..3
          YAML_SCALAR@0..2
            YAML_SCALAR_TEXT@0..2 "hr"
          YAML_COLON@2..3 ":"
        YAML_BLOCK_MAP_VALUE@3..23
          WHITESPACE@3..5 "  "
          YAML_SCALAR@5..7
            YAML_SCALAR_TEXT@5..7 "65"
          WHITESPACE@7..11 "    "
          YAML_COMMENT@11..22 "# Home runs"
          NEWLINE@22..23 "\n"
      YAML_BLOCK_MAP_ENTRY@23..52
        YAML_BLOCK_MAP_KEY@23..27
          YAML_SCALAR@23..26
            YAML_SCALAR_TEXT@23..26 "avg"
          YAML_COLON@26..27 ":"
        YAML_BLOCK_MAP_VALUE@27..52
          WHITESPACE@27..28 " "
          YAML_SCALAR@28..33
            YAML_SCALAR_TEXT@28..33 "0.278"
          WHITESPACE@33..34 " "
          YAML_COMMENT@34..51 "# Batting average"
          NEWLINE@51..52 "\n"
      YAML_BLOCK_MAP_ENTRY@52..80
        YAML_BLOCK_MAP_KEY@52..56
          YAML_SCALAR@52..55
            YAML_SCALAR_TEXT@52..55 "rbi"
          YAML_COLON@55..56 ":"
        YAML_BLOCK_MAP_VALUE@56..80
          WHITESPACE@56..57 " "
          YAML_SCALAR@57..60
            YAML_SCALAR_TEXT@57..60 "147"
          WHITESPACE@60..63 "   "
          YAML_COMMENT@63..79 "# Runs Batted In"
          NEWLINE@79..80 "\n"
