assert

package
v3.0.37 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Empty

func Empty(t *testing.T, got interface{})

Empty checks if a slice is empty

func Equals

func Equals(t *testing.T, exp, got interface{})

Equals compares two values

func NoError

func NoError(t *testing.T, err error)

NoError checks if an error is nil

func NoErrorFatal

func NoErrorFatal(t *testing.T, err error)

NoErrorFatal checks if an error is nil and fails the test

Types

This section is empty.

Jump to

Keyboard shortcuts

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