You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data.Yaml.Include
decodeFile
supports includes
supports recursive includes
aborts on cyclic includes
when file does not exist
throws Left (InvalidYaml (Just (YamlException "Yaml file not found: ...")))
with a 1K stack size limit
with a large list
succeeds
decodeFileEither
when file does not exist
returns Left (InvalidYaml (Just (YamlException "Yaml file not found: ...")))
decodeFileWithWarnings
warns on duplicate keys
warns on nested duplicate keys
when overriding a merged key
does not warn
when overriding twice
warns
Data.Yaml.TH
yamlQQ
parses yaml
Data.Yaml
streaming
count scalars with anchor
count sequences with anchor
count mappings with anchor
count sequences with custom tag
count mappings with custom tag
count count sequences with ! tag
count count mappings with ! tag
count block style sequences
count flow style sequences
count block style mappings
count flow style mappings
count aliases
count scalars
largest string
encode/decode
encode/decode file
interleaved encode/decode
decode invalid document (without segfault)
Data.Yaml
encode/decode
encode/decode file
encode/decode files with non-ASCII names
encode/decode strings
decode invalid file
processes datatypes
encode invalid numbers
Data.Yaml.Pretty
encode/decode
encode/decode strings
processes datatypes
Data.Yaml aliases
simple scalar alias
simple sequence alias
simple mapping alias
mapping alias before anchor
mapping alias inside anchor
scalar alias overriding
Data.Yaml merge keys
test uniqueness of keys
test mapping merge
test sequence of mappings merging
numbers
parses as string when quoted
parses as number when unquoted
parses as number !!str is present
integers have no decimals
booleans
parses when all lowercase
parses when all uppercase
parses when titlecase
empty input
parses as Null
parses as Null from file
comment only input
parses as Null
parses as Null from file
alias stripping
works
nulls
null recognized: "null"
null recognized: "Null"
null recognized: "NULL"
null recognized: "~"
null recognized: ""
pretty output
simple nulls
simple numbers
True
False
simple string
*
special keys
fo"o
fo'o
fo\'o
fo: o
foo
bar
baz
special values
fo"o
fo'o
fo\'o
fo: o
foo
bar
baz
decodeFileEither
loads YAML through JSON into Haskell data
when file does not exist
returns Left
round-tripping of special scalars
y
Y
On
ON
false
12345
12345.0
12345a
12e3
no tags
aliases in keys #49
serialization of +123 #64
preserves Scientific precision
truncates files
quoting keys #137
non-decimal numbers #135
12345
+12345
0o14
0o123
0xC
0xc
0xdeadBEEF FAILED [1]
0xDEADBEEF FAILED [2]
1.23015e+3
12.3015e+02
1230.15
Failures:
test/Data/YamlSpec.hs:194:
1) Data.Yaml, non-decimal numbers #135, 0xdeadBEEF
uncaught exception: ParseException (AesonException "Error in $: Int is either floating or will cause over or underflow: 3.735928559e9")
test/Data/YamlSpec.hs:194:
2) Data.Yaml, non-decimal numbers #135, 0xDEADBEEF
uncaught exception: ParseException (AesonException "Error in $: Int is either floating or will cause over or underflow: 3.735928559e9")
Randomized with seed 740812415
Finished in 0.2115 seconds
109 examples, 2 failures
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: