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/TestAssertJSONMarshalingP/full_struct/marshaled_json.golden
vendored
Normal file
9
testdata/TestAssertJSONMarshalingP/full_struct/marshaled_json.golden
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "10eec54d-e30a-4428-be18-01095d889126",
|
||||
"title": "Time Travel",
|
||||
"author": {
|
||||
"first_name": "Doc",
|
||||
"last_name": "Brown"
|
||||
},
|
||||
"date": "2021-10-27T22:30:34Z"
|
||||
}
|
||||
Reference in New Issue
Block a user