assert

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Comparable

func Comparable[T comparable](t *testing.T, name string, want T, got T)

Comparable asserts two comparable values that they equal.

func ElementsMatch

func ElementsMatch[S ~[]string](t *testing.T, want, got S)

ElementsMatch asserts that two slices of strings contain the same values, with no regard to the ordering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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