mirror of
https://github.com/jimeh/go-golden.git
synced 2026-02-19 11:16:47 +00:00
feat(assert): add marshaling assertion helpers for JSON, YAML and XML
This commit is contained in:
9
testdata/TestAssertJSONMarshaling/full_struct/marshaled_json.golden
vendored
Normal file
9
testdata/TestAssertJSONMarshaling/full_struct/marshaled_json.golden
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "cfda163c-d5c1-44a2-909b-5d2ce3a31979",
|
||||
"title": "The Traveler",
|
||||
"author": {
|
||||
"first_name": "John",
|
||||
"last_name": "Twelve Hawks"
|
||||
},
|
||||
"year": 2005
|
||||
}
|
||||
Reference in New Issue
Block a user