dirty-equals
dirty-equals copied to clipboard
Wrong repr?
I have a items array, and then the problem is that _id
is different, but the repr of price
is not 79
. Should this be supported?
E - 'items': [{'_id': '5f3dbd00fa942fcc2d1053bc',
E + 'items': [{'_id': ObjectId('629778b83406c5b07c9b0eb7'),
E - 'price': IsPositiveInt(),
E + 'price': 79,
humm, can you show a full example of the errror, I'm not quite sure if this is expected.
I assume you've seen this bit of the docs?