summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-before/fmt-2.yml
blob: 294166327caafb7611dc3b1ee1ecd8fbb254a6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# preamble/header comment
---
# initial comment
  - foo: bar

  - baz:  # over indented
        - qwerty
        - foobar
    animals: # under indented
    - crow
    - pig
    - giraffe

  - nothing: null  # null

  - octal:
    - 0o123  # YAML 1.2 octal
    - 0123  # YAML 1.1 octal

  - integer:
    - 0  # Not an octal. See #2071
    - 10
    - 9999
    zero: 0  # Not an octal. See #2071