assert

package
v2.0.0-...-bb4b399 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(tb testing.TB, expected, actual interface{})

Equals fails the test if expected is not equal to actual. Taken from https://github.com/benbjohnson/testing

func False

func False(tb testing.TB, condition bool, message string, v ...interface{})

False fails the test if the condition is true.

func NoError

func NoError(tb testing.TB, err error)

NoError fails the test if an err is not nil. Taken from https://github.com/benbjohnson/testing

func True

func True(tb testing.TB, condition bool, message string, v ...interface{})

True fails the test if the condition is false. Taken from https://github.com/benbjohnson/testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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