Documentation ¶
Overview ¶
Gomega matchers
This package implements the Gomega matchers and does not typically need to be imported. See the docs for Gomega for documentation on the matchers
Index ¶
- type AssignableToTypeOfMatcher
- type BeEmptyMatcher
- type BeEquivalentToMatcher
- type BeFalseMatcher
- type BeNilMatcher
- type BeNumericallyMatcher
- type BeTrueMatcher
- type BeZeroMatcher
- type ContainElementMatcher
- type ContainSubstringMatcher
- type EqualMatcher
- type HaveKeyMatcher
- type HaveLenMatcher
- type HaveOccurredMatcher
- type MatchRegexpMatcher
- type PanicMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignableToTypeOfMatcher ¶
type AssignableToTypeOfMatcher struct {
Expected interface{}
}
type BeEmptyMatcher ¶
type BeEmptyMatcher struct { }
type BeEquivalentToMatcher ¶
type BeEquivalentToMatcher struct {
Expected interface{}
}
type BeFalseMatcher ¶
type BeFalseMatcher struct { }
type BeNilMatcher ¶
type BeNilMatcher struct { }
type BeNumericallyMatcher ¶
type BeNumericallyMatcher struct { Comparator string CompareTo []interface{} }
type BeTrueMatcher ¶
type BeTrueMatcher struct { }
type BeZeroMatcher ¶
type BeZeroMatcher struct { }
type ContainElementMatcher ¶
type ContainElementMatcher struct {
Element interface{}
}
type ContainSubstringMatcher ¶
type ContainSubstringMatcher struct { Substr string Args []interface{} }
type EqualMatcher ¶
type EqualMatcher struct {
Expected interface{}
}
type HaveKeyMatcher ¶
type HaveKeyMatcher struct {
Key interface{}
}
type HaveLenMatcher ¶
type HaveLenMatcher struct {
Count int
}
type HaveOccurredMatcher ¶
type HaveOccurredMatcher struct { }
type MatchRegexpMatcher ¶
type MatchRegexpMatcher struct { Regexp string Args []interface{} }
type PanicMatcher ¶
type PanicMatcher struct{}
Source Files ¶
- assignable_to_type_of_matcher.go
- be_empty_matcher.go
- be_equivalent_to_matcher.go
- be_false_matcher.go
- be_nil_matcher.go
- be_numerically_matcher.go
- be_true_matcher.go
- be_zero_matcher.go
- contain_element_matcher.go
- contain_substring_matcher.go
- equal_matcher.go
- format_support.go
- have_key_matcher.go
- have_len_matcher.go
- have_occurred_matcher.go
- match_regexp_matcher.go
- panic_matcher.go
- type_support.go
Click to show internal directories.
Click to hide internal directories.