Skip to content

Commit

Permalink
remove comments from sample YAML
Browse files Browse the repository at this point in the history
YAML.pm does not strip trailing comments, so remove them from a sample
file. See ingydotnet/yaml-pm#143
  • Loading branch information
eserte committed Jul 16, 2015
1 parent b34560f commit f131ee3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions t/testdata/schema05.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
type: seq # new rule
type: seq
sequence:
-
type: map # new rule
type: map
mapping:
name:
type: str # new rule
type: str
required: yes
email:
type: str # new rule
type: str
required: yes
pattern: /@/
password:
type: text # new rule
type: text
length: { max: 16, min: 8 }
age:
type: int # new rule
type: int
range: { max: 30, min: 18 }
# or assert: 18 <= val && val <= 30
blood:
type: str # new rule
type: str
enum:
- A
- B
- O
- AB
birth:
type: date # new rule
type: date
memo:
type: any # new rule
type: any

0 comments on commit f131ee3

Please sign in to comment.