Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainsMatcher ¶
type ContainsMatcher[K comparable, V any] struct { Expected map[K]V }
func (ContainsMatcher[K, V]) Match ¶
func (m ContainsMatcher[K, V]) Match(got map[K]V, opts ...any) bool
func (ContainsMatcher[K, V]) OnTestFailure ¶
func (m ContainsMatcher[K, V]) OnTestFailure(got map[K]V, opts ...any) []string
type EqualMatcher ¶
type EqualMatcher[K comparable, V any] struct { Expected map[K]V }
func (EqualMatcher[K, V]) Match ¶
func (m EqualMatcher[K, V]) Match(got map[K]V, opts ...any) bool
func (EqualMatcher[K, V]) OnTestFailure ¶
func (m EqualMatcher[K, V]) OnTestFailure(got map[K]V, opts ...any) []string
Click to show internal directories.
Click to hide internal directories.