~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/symfony/yaml/Symfony/Component/Yaml/Tests/Fixtures/YtsErrorTests.yml

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
test: Missing value for hash item
 
3
todo: true
 
4
brief: |
 
5
    Third item in this hash doesn't have a value
 
6
yaml: |
 
7
    okay: value
 
8
    also okay: ~
 
9
    causes error because no value specified
 
10
    last key: value okay here too
 
11
python-error: causes error because no value specified
 
12
 
 
13
---
 
14
test: Not indenting enough
 
15
brief: |
 
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.
 
20
yaml: |
 
21
    foo:
 
22
    firstline: 1
 
23
    secondline: 2
 
24
php: |
 
25
  array('foo' => null, 'firstline' => 1, 'secondline' => 2)