assert

package
v2.14.3-0...-5c547ed Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package assert provides functions for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t testing.TB, want, got interface{}, args ...interface{})

Equal makes the test as failed using default formatting if got is not equal to want.

func NotEqual

func NotEqual(t testing.TB, want, got interface{}, args ...interface{})

NotEqual makes the test as failed using default formatting if got is equal to want.

func T

func T(t testing.TB, ok bool, args ...interface{})

T makes the test as failed using default formatting if ok is false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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