package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Jan 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package testutil contains helper functions for unit tests.
func AssertProtoJSONEqual(t *testing.T, expected string, protoMsg interface{}, msgAndArgs ...interface{}) bool
AssertProtoJSONEqual asserts that a protobuf message matches the given JSON. The protoMsg can also be a slice
of protobuf messages.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.