assert

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package assert is used internally by tests to make basic assertions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

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

Equals is a helper function used throughout the unit and integration tests to assert deep equality between an actual and expected value.

func MustOk

func MustOk(tb testing.TB, err error)

MustOk fails the test now if an err is not nil.

func Ok

func Ok(tb testing.TB, err error)

Ok fails the test if an 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