Skip to content

Commit

Permalink
Correct doc typos
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
  • Loading branch information
maxatome committed Jul 6, 2018
1 parent 716b923 commit 4432daf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ func TestCreateRecord(tt *testing.T) {
Age: 23,
},
td.StructFields{
Id: td.NotZero(),
CreatedAt: td.Between(before, time.Now()),
"Id": td.NotZero(),
"CreatedAt": td.Between(before, time.Now()),
},
"Newly created record")
}
Expand Down
8 changes: 4 additions & 4 deletions t_struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ type T struct {
// Age: 23,
// },
// td.StructFields{
// Id: td.NotZero(),
// CreatedAt: td.Between(before, time.Now()),
// "Id": td.NotZero(),
// "CreatedAt": td.Between(before, time.Now()),
// },
// "Newly created record")
// if ok {
Expand Down Expand Up @@ -148,8 +148,8 @@ func NewT(t TestingFT, config ...ContextConfig) *T {
// Age: 23,
// },
// td.StructFields{
// Id: td.NotZero(),
// CreatedAt: td.Between(before, time.Now()),
// "Id": td.NotZero(),
// "CreatedAt": td.Between(before, time.Now()),
// },
// "Newly created record")
//
Expand Down
12 changes: 6 additions & 6 deletions testdeep.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
// Age: 23,
// },
// td.StructFields{
// Id: td.NotZero(),
// CreatedAt: td.Between(before, time.Now()),
// "Id": td.NotZero(),
// "CreatedAt": td.Between(before, time.Now()),
// }),
// "Newly created record")
// }
Expand Down Expand Up @@ -124,8 +124,8 @@
// Age: 23,
// },
// td.StructFields{
// Id: td.NotZero(),
// CreatedAt: td.Between(before, time.Now()),
// "Id": td.NotZero(),
// "CreatedAt": td.Between(before, time.Now()),
// },
// "Newly created record")
// }
Expand Down Expand Up @@ -154,8 +154,8 @@
// Age: 23,
// },
// td.StructFields{
// Id: td.NotZero(),
// CreatedAt: td.Between(before, time.Now()),
// "Id": td.NotZero(),
// "CreatedAt": td.Between(before, time.Now()),
// },
// "Newly created record")
// }
Expand Down

0 comments on commit 4432daf

Please sign in to comment.