assert

package
v0.2.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlatEqual

func FlatEqual(got, expected interface{}) bool

Simple equality check working for flat types (no nested types passed by reference).

func Must

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

Check error and if present, fail and stop the test suite. Examples usage: client.Must(t, task.Create(&r))

func Should

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

Check error and if present, fail the test case. Examples usage: client.Should(t, task.Create(&r))

Types

This section is empty.

Jump to

Keyboard shortcuts

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