internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual[T any](t *testing.T, a, b T)

AssertEqual verifies equality of two objects.

func AssertErrorContains added in v0.5.0

func AssertErrorContains(t *testing.T, err error, str string)

AssertErrorContains checks whether the given error contains the specified string.

func AssertPanic added in v0.5.0

func AssertPanic(t *testing.T, f func())

AssertPanic checks whether the given function panics.

func Cas

func Cas() int64

Cas returns compare-and-set stamp value

Types

This section is empty.

Jump to

Keyboard shortcuts

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