SomethingLike is being shown in the diff, rather than the reified json
bethesque opened this issue · 1 comments
bethesque commented
YOU54F commented
Retested and looks ok. I've updated the pact-ruby-e2e-example branch and here is a failing action run showing the diff with the reified json
Diff
--------------------------------------
Key: - is expected
+ is actual
Matching keys and values are not shown
{
- "thing": {
- "test": "My thing",
- "bar": "Another thing"
- },
+ "thing": [
+ 1,
+ ],
"nested": {
"long": {
"path": {
"to": {
"a": {
"person": {
- "firstName": "Foo",
- "lastName": "Bar",
- "driversLicence": /ABC\d+/
+ "firstName": "Bar",
+ "driversLicence": "EFG567"
}
}
}
}
}
},
- "address": {
- "street": "200 Bourke St",
- "suburb": "Melbourne"
+ "address": "200 Bourke St, Melbourne",
+ "phone": {
+ "mobile": "0412 746 [34](https://github.com/pact-foundation/pact-ruby-e2e-example/actions/runs/10401703651/job/28804736224#step:6:35)5"
},
- "phone": "0412 746 345",
- "mother": "Mary",
- "father": null,
+ "mother": null,
+ "father": "James",
"favouriteColours": [
... ,
+ "This is some text that is quite long.\nA long long text\nSome longity one day a fish went\nLong long ago. Wiggly woo. Wiggly woo. Let's\n all do the wiggly woo.This is some text that is quite long.\nA long long text\nSome longity one day a fish went\nLong long ago. Wiggly woo. Wiggly woo. Let's\n all do the wiggly woo.This is some text that is quite long.\nA long long text\nSome longity one day a fish went\nLong long ago. Wiggly woo. Wiggly woo. Let's\n all do the wiggly woo.This is some text that is quite long.\nA long long text\nSome longity one day a fish went\nLong long ago. Wiggly woo. Wiggly woo. Let's\n all do the wiggly woo.This is some text that is quite long.\nA long long text\nSome longity one day a fish went\nLong long ago. Wiggly woo. Wiggly woo. Let's\n all do the wiggly woo.This is some text that is quite long.\nA long long text\nSome longity one day a fish went\nLong long ago. Wiggly woo. Wiggly woo. Let's\n all do the wiggly woo.",
],
"favouriteMovies": [
... ,
- "The Sound of Music",
],
"children": [
{
- "age": Integer
+ "age": String
},
{
- "age": Integer
+ "age": String
}
],
"parents": [
... ,
... ,
+ {
+ "name": "Frank"
+ },
]
}
Description of differences