initial commit
[govpp.git] / vendor / github.com / onsi / gomega / gstruct / types.go
1 package gstruct
2
3 //Options is the type for options passed to some matchers.
4 type Options int
5
6 const (
7         //IgnoreExtras tells the matcher to ignore extra elements or fields, rather than triggering a failure.
8         IgnoreExtras Options = 1 << iota
9         //IgnoreMissing tells the matcher to ignore missing elements or fields, rather than triggering a failure.
10         IgnoreMissing
11         //AllowDuplicates tells the matcher to permit multiple members of the slice to produce the same ID when
12         //considered by the indentifier function. All members that map to a given key must still match successfully
13         //with the matcher that is provided for that key.
14         AllowDuplicates
15 )