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

FromJSON tests #465

Merged
merged 4 commits into from
Mar 10, 2019
Merged

FromJSON tests #465

merged 4 commits into from
Mar 10, 2019

Conversation

emmanueldenloye
Copy link
Contributor

@emmanueldenloye emmanueldenloye commented Mar 10, 2019

I created a currently failing test which I think exposes an oversight in the JSON parser in hnix. The failing case is as follows: If there is a key which contains a string that consists of digits, such as "4275", then that key is parsed as a number instead of as a string. This causes the parsed JSON to not match the result that is parsed from nix.

This references issue #442.

@emmanueldenloye emmanueldenloye changed the title From json tests From JSON tests Mar 10, 2019
@emmanueldenloye emmanueldenloye changed the title From JSON tests FromJSON tests Mar 10, 2019
Copy link
Member

@jwiegley jwiegley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contains unrelated changes...

@jwiegley
Copy link
Member

Looking good!

@jwiegley jwiegley marked this pull request as ready for review March 10, 2019 21:02
@jwiegley jwiegley merged commit af9f69d into haskell-nix:master Mar 10, 2019
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

Successfully merging this pull request may close these issues.

2 participants