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.1 (latest)
Published
Jan 9, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
5 days ago

Tools for package owners.