Commit 61ff68f6 authored by Christian Hergert's avatar Christian Hergert

tests: add example yaml file

This includes a couple snippets from the spec, to simplify testing.
parent a9c777c9
# ASCII Art
--- |
\//||\/||
// || ||__
--- >
Mark McGwire's
year was crippled
by a knee injury.
unicode: "Sosa did fine.\u263A"
control: "\b1998\t1999\t2000\n"
hex esc: "\x0d\x0a is \r\n"
single: '"Howdy!" he cried.'
quoted: ' # Not a ''comment''.'
tie-fighter: '|\-*-/|'
plain:
This unquoted scalar
spans many lines.
quoted: "So does this
quoted scalar.\n"
canonical: 1.23015e+3
exponential: 12.3015e+02
fixed: 1230.15
negative infinity: -.inf
not a number: .NaN
null:
booleans: [ true, false ]
string: '012345'
url: https://example.com https://example.com
invoice: 34843
date : 2001-01-23
bill-to: &id001
given : Chris
family : Dumars
address:
lines: |
458 Walkman Dr.
Suite #292
city : Royal Oak
state : MI
postal : 48046
ship-to: *id001
product:
- sku : BL394D
quantity : 4
description : Basketball
price : 450.00
- sku : BL4438H
quantity : 1
description : Super Hoop
price : 2392.00
tax : 251.42
total: 4443.52
comments:
Late afternoon is best.
Backup contact is Nancy
Billsmer @ 338-4338.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment