Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i386 test failure #158

Closed
quasicomputational opened this issue Sep 28, 2018 · 2 comments

Comments

@quasicomputational
Copy link
Contributor

commented Sep 28, 2018

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
snoyberg added a commit that referenced this issue Sep 30, 2018
@snoyberg

This comment has been minimized.

Copy link
Owner

commented Sep 30, 2018

I've just pushed a commit that should address this, can you confirm?

@quasicomputational

This comment has been minimized.

Copy link
Contributor Author

commented Oct 1, 2018

Thanks! Can confirm that's fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.