assert

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

type Assertion[T any] struct {
	// contains filtered or unexported fields
}

func That

func That[T any](want T, got T, opts ...Option) Assertion[T]

func (Assertion[T]) AreTheSame

func (a Assertion[T]) AreTheSame(t testing.TB) Assertion[T]

type Option

type Option func(o *options)

func WithMessage

func WithMessage(msg string) Option

Jump to

Keyboard shortcuts

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