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

Test suite for 0.9.0.0 fails #17

Open
sternenseemann opened this issue Oct 2, 2021 · 1 comment
Open

Test suite for 0.9.0.0 fails #17

sternenseemann opened this issue Oct 2, 2021 · 1 comment

Comments

@sternenseemann
Copy link

  • A lot of tests fail presumably since 0.8.0.0 if CREATE_MISSING_GOLDEN isn't set, since creation of golden files is tested.
  • I can't figure out how to fix Test.Aeson.GenericSpecs/Test.Aeson.GenericSpecs: goldenADTSpecs/different random seed but byte-for-byte identical should pass (default setting). It fails like this:
Failures:

  test/Test/Aeson/GenericSpecsSpec.hs:247:7:
  1) Test.Aeson.GenericSpecs, Test.Aeson.GenericSpecs: goldenADTSpecs, different random seed but byte-for-byte identical should pass (default setting)
       expected: 0
        but got: 1

  To rerun use: --match "/Test.Aeson.GenericSpecs/Test.Aeson.GenericSpecs: goldenADTSpecs/different random seed but byte-for-byte identical should pass (default setting)/"

Randomized with seed 1473818358

Attached is the golden directory after running the test: golden.zip

@albertov
Copy link
Contributor

albertov commented Oct 2, 2021

I would swear I added a setEnv to force creation of missing golden files in the test suite when I changed this behavior, alas, I can’t find that change. I’ll look into this as as soon as I can get near my keyboard. Thanks for reporting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants