-
-
Notifications
You must be signed in to change notification settings - Fork 146
Support for more relaxed matching #809
Copy link
Copy link
Open
Description
It's often useful to be able to compare the output of something with the previously generated result - e.g. taken from API specs.
However, currently Insta requires that the two are in the exact same format. That is, the fields in the same order, the same whitespace, etc.
It would be very useful if this could be relaxed so that the comparison is that the JSON is semantically the same, rather than being character-wise the same.
For example, the following are semantically the same but would fail on Insta:
{
"a": 1,
"b": [
1,
2
]
}{
"b": [1, 2],
"a": 1
}Cheers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels