expect

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t *testing.T, u, v any) bool

If `!reflect.DeepEqual(u, v)`, call `t.Error()` and return false.

func Equal

func Equal[T comparable](t *testing.T, u, v T) bool

If `u != v`, call `t.Error()` and return false.

func True

func True(t *testing.T, v bool) bool

If `!v`, call `t.Error()` and return false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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