assert

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package assert provides utilities for making assertions during tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

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

Equals fails the test if `want` and `got` are not equal.

func NoError

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

NoError fails the test if `err` is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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