summaryrefslogtreecommitdiff
path: root/test/YAMLParser/construct-omap.test
blob: b96d6799c7d4fca81d2c937cc593409c91df48f0 (plain)
1
2
3
4
5
6
7
8
9
10
# RUN: yaml-bench -canonical %s

# Explicitly typed ordered map (dictionary).
Bestiary: !!omap
  - aardvark: African pig-like ant eater. Ugly.
  - anteater: South-American ant eater. Two species.
  - anaconda: South-American constrictor snake. Scaly.
  # Etc.
# Flow style
Numbers: !!omap [ one: 1, two: 2, three : 3 ]