util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UnderscoreIdent = ast.NewIdent("_")
)

Functions

func Fail

func Fail(t *testing.T, depth int)

func TestAssert

func TestAssert(t *testing.T, x bool)

func TestEq

func TestEq[T comparable](t *testing.T, a, b T)

func TestEqSlice

func TestEqSlice[S ~[]E, E comparable](t *testing.T, a, b S)

func TrimDollarPrefix

func TrimDollarPrefix(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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