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

hschema-aeson test suite depends on ordering returned from aeson #11

Open
sternenseemann opened this issue Dec 26, 2021 · 0 comments
Open

Comments

@sternenseemann
Copy link

Running 1 test suites...
Test suite hschema-aeson-test: RUNNING...
+++ OK, passed 100 tests.

toJsonSerializer
  should generate valid JSON FAILED [1]
  should parse the given JSON

Failures:

  test/Test/Schema/JSON.hs:35:7: 
  1) toJsonSerializer should generate valid JSON
       expected: "{\"roles\":[{\"user\":{}},{\"admin\":{\"department\":\"bar\",\"subordinateCount\":4}}],\"name\":\"foo\",\"birthDate\":12}"
        but got: "{\"roles\":[{\"user\":{}},{\"admin\":{\"subordinateCount\":4,\"department\":\"bar\"}}],\"name\":\"foo\",\"birthDate\":12}"

  To rerun use: --match "/toJsonSerializer/should generate valid JSON/"

Randomized with seed 372598237

Finished in 0.0009 seconds
2 examples, 1 failure
Test suite hschema-aeson-test: FAIL
Test suite logged to: dist/test/hschema-aeson-0.0.1.1-hschema-aeson-test.log
0 of 1 test suites (0 of 1 test cases) passed.
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

1 participant