helper

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Trace = false
)

Functions

func Equal

func Equal(got, want any, opts ...cmp.Option) (string, bool)

Equal compares got and want and returns a formatted error message and a bool

func Message

func Message(t TestingT, msg string, lines ...string) string

Message returns a formatted error message with the given message and lines.

Types

type TestingT

type TestingT interface {
	Helper()
	Name() string
}

Jump to

Keyboard shortcuts

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