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

Write a better method of asserting chunks of JSON as equivalent #28

Open
donaldgray opened this issue Mar 6, 2023 · 0 comments
Open

Comments

@donaldgray
Copy link
Member

We need a better way of comparing large chunks of json. Some of the tests create a model and validate the serialisation by comparing against a string representation of JSON. We should write, or find if it exists, a method of comparing JSON that is less brittle and won't be affected by whitespace/line ending differences.

See: #27 (comment)

@donaldgray donaldgray changed the title Write a better method of comparing chunks of JSON Write a better method of asserting chunks of JSON as equivalent Mar 6, 2023
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