This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Yaml/Fixtures/YtsErrorTests.yml

27 lines
626 B
YAML
Raw Normal View History

2011-06-08 18:56:59 +01:00
---
test: Missing value for hash item
2010-01-04 14:26:20 +00:00
todo: true
2011-06-08 18:56:59 +01:00
brief: |
Third item in this hash doesn't have a value
yaml: |
okay: value
also okay: ~
causes error because no value specified
last key: value okay here too
python-error: causes error because no value specified
---
test: Not indenting enough
brief: |
There was a bug in PyYaml where it was off by one
in the indentation check. It was allowing the YAML
below.
# This is actually valid YAML now. Someone should tell showell.
yaml: |
foo:
firstline: 1
secondline: 2
2010-01-04 14:26:20 +00:00
php: |
array('foo' => null, 'firstline' => 1, 'secondline' => 2)