assert

package module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: CC0-1.0 Imports: 3 Imported by: 3

README

package assert

import "github.com/zeebo/assert"

go.dev Go Report Card SourceGraph

Usage

See the api docs. There's not a lot of surface area, and that's the goal.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t testing.TB, a, b interface{})

func Equal

func Equal(t testing.TB, a, b interface{})

func Error

func Error(t testing.TB, err error)

func False

func False(t testing.TB, v bool)

func Nil

func Nil(t testing.TB, a interface{})

func NoError

func NoError(t testing.TB, err error)

func NotEqual added in v1.3.1

func NotEqual(t testing.TB, a, b interface{})

func NotNil

func NotNil(t testing.TB, a interface{})

func That

func That(t testing.TB, v bool)

func True

func True(t testing.TB, v bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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