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

Fix sort order in mellon-web API.hs doctests. #17

Closed
dhess opened this issue Feb 4, 2018 · 1 comment
Closed

Fix sort order in mellon-web API.hs doctests. #17

dhess opened this issue Feb 4, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@dhess
Copy link
Owner

dhess commented Feb 4, 2018

### Failure in src/Mellon/Web/Server/API.hs:129: expression `toJSON $ Unlocked sampleDate'
expected: Object (fromList [("state",String "Unlocked"),("until",String "2015-10-06T00:00:00Z")])
 but got: Object (fromList [("until",String "2015-10-06T00:00:00Z"),("state",String "Unlocked")])
Examples: 18  Tried: 16  Errors: 0  Failures: 1
@dhess dhess added the bug label Feb 4, 2018
@dhess dhess added this to the 0.9.0.0 milestone Feb 4, 2018
@dhess dhess self-assigned this Feb 4, 2018
@dhess dhess modified the milestones: 0.9.0.0, v0.8.0.6 Feb 4, 2018
@dhess
Copy link
Owner Author

dhess commented Feb 4, 2018

This happens because Aeson.Object is not ordered. See haskell/aeson#368

@dhess dhess closed this as completed in 49b3536 Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant