tst

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffError

func DiffError(t *testing.T, want, got any)

func DiffErrorBefore

func DiffErrorBefore(t *testing.T, want, got any, fn func())

func ReprType

func ReprType(value any) string

ReprType returns a Go-syntax representation of the type of the value

Equivalent to fmt.Sprintf("%T, value)

func ReprValue

func ReprValue(value any) string

ReprValue returns a Go-syntax representation of the value

Equivalent to fmt.Sprintf("%#v", value)

Types

This section is empty.

Jump to

Keyboard shortcuts

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