1---
2test: Missing value for hash item
3todo: true
4brief: |
5    Third item in this hash doesn't have a value
6yaml: |
7    okay: value
8    also okay: ~
9    causes error because no value specified
10    last key: value okay here too
11python-error: causes error because no value specified
12
13---
14test: Not indenting enough
15brief: |
16    There was a bug in PyYaml where it was off by one
17    in the indentation check.  It was allowing the YAML
18    below.
19# This is actually valid YAML now. Someone should tell showell.
20yaml: |
21    foo:
22    firstline: 1
23    secondline: 2
24php: |
25  ['foo' => null, 'firstline' => 1, 'secondline' => 2]
26