cmp_assert

package
v0.0.0-...-79a91f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CATestingT

type CATestingT interface {
	Fatalf(string, ...interface{})
}

type CmpAssert

type CmpAssert struct {
	// contains filtered or unexported fields
}

CmpAssert is struct of go-cmp wrapper

func New

func New(t CATestingT) *CmpAssert

New is constructer

func (*CmpAssert) Equal

func (c *CmpAssert) Equal(t1, t2 interface{}, msg string) bool

Equal is compare t1 and t2. if two args have difference. call t.Fatalf

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL