package matchers

import "github.com/google/trillian/testonly/matchers"

Package matchers contains additional gomock matchers.

Index

Functions

func AtLeast

func AtLeast(n int) gomock.Matcher

AtLeast returns a matcher that requires a number >= n.

func ProtoEqual

func ProtoEqual(m proto.Message) gomock.Matcher

ProtoEqual returns a matcher that compares protobuf messages.

Source Files

atleast.go proto.go

Version
v1.7.2 (latest)
Published
Apr 25, 2025
Platform
js/wasm
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.