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.0.1
Published
Sep 20, 2017
Platform
js/wasm
Imports
3 packages
Last checked
5 hours ago

Tools for package owners.