assert

package module
v0.0.0-...-307f2c0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEqual

func IsEqual(t *testing.T, expect, actual interface{}, message string)

IsEqual will check actual is the same as expect, or it will fail the test.

func IsFalse

func IsFalse(t *testing.T, actual bool, message string)

IsFalse will check actual is false, or it will fail the test.

func IsNil

func IsNil(t *testing.T, actual interface{}, message string)

IsNil will check actual is nil, or it will fail the test.

func IsNotNil

func IsNotNil(t *testing.T, actual interface{}, message string)

IsNotNil will check actual is not nil, or it will fail the test.

func IsTrue

func IsTrue(t *testing.T, actual bool, message string)

IsTrue will check actual is true, or it will fail 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