Skip to content

Commit

Permalink
docs: fix typo and broken anchor link to gstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
losnir authored and onsi committed Feb 3, 2024
1 parent a2862e4 commit f460154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ and an instance book `var book = Book{...}` - you can use `HaveField` to make as
Ω(books).Should(ContainElement(HaveField("Author.DOB.Month()", Equal(2))))
```

If you want to make lots of complex assertions against the fields of a struct take a look at the [`gstruct`package](#gstruct-testing-complex-data-types) package documented below.
If you want to make lots of complex assertions against the fields of a struct take a look at the [`gstruct`package](#codegstructcode-testing-complex-data-types) documented below.

#### HaveExistingField(field interface{})

Expand Down

0 comments on commit f460154

Please sign in to comment.