assert

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package assert is a utility package that provides simple assertions to help with writing tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

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

Equal errors when actual and expected are not the same, printing out the diff.

func OK

func OK(tb testing.TB, err error)

OK fails a test if the provided error 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