syrusakbary / snapshottest

Snapshot Testing utils for Python 📸
MIT License
525 stars 102 forks source link

Add tests for OrderedDict snapshots #130

Closed medmunds closed 3 years ago

medmunds commented 3 years ago

Make sure snapshots detect differences between OrderedDicts with the same elements in a different order (and don't just coerce all collections to dicts for comparison purposes).

Closes #48

medmunds commented 3 years ago

[Looks like Travis got disconnected. I haven't run the full test matrix locally, but at least on Python 3.7 the bug reported in #48 seems to have been solved since it was reported.]

medmunds commented 3 years ago

Ah, Travis is running, just not reporting into GitHub. Results look good: https://travis-ci.org/github/syrusakbary/snapshottest/builds/731392417