Skip to content

Commit

Permalink
Update is.NewRelaxed documentation
Browse files Browse the repository at this point in the history
Looks like the example was copy-and-pasted from is.New, without being
updated to say "NewRelaxed"
  • Loading branch information
Houndie committed Aug 30, 2018
1 parent 5f0030c commit d376315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions is.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ func (is *I) New(t *testing.T) *I {
// pattern:
//
// func Test(t *testing.T) {
// is := is.New(t)
// is := is.NewRelaxed(t)
// t.Run("sub", func(t *testing.T) {
// is := is.New(t)
// is := is.NewRelaxed(t)
// // TODO: test
// })
// }
Expand Down

0 comments on commit d376315

Please sign in to comment.