Skip to content

Commit

Permalink
docs: fix Struct and Struct doc
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Soulé <[email protected]>
  • Loading branch information
maxatome committed May 27, 2020
1 parent e5e88dd commit d18326d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions td/td_struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ func anyStruct(model interface{}, expectedFields StructFields, strict bool) *tdS
// Name: "John Doe",
// },
// td.StructFields{
// Age: td.Between(40, 45),
// Children: 0,
// "Age": td.Between(40, 45),
// "Children": 0,
// }),
// )
//
Expand Down Expand Up @@ -256,8 +256,8 @@ func Struct(model interface{}, expectedFields StructFields) TestDeep {
// Name: "John Doe",
// },
// td.StructFields{
// Age: td.Between(40, 45),
// Children: td.Ignore(),
// "Age": td.Between(40, 45),
// "Children": td.Ignore(),
// }),
// )
//
Expand Down

0 comments on commit d18326d

Please sign in to comment.