testutil

package
v0.0.0-...-40aa707 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, cases ...Case)

Types

type Case

type Case struct {
	Input       []byte
	Target      any
	Expect      []byte
	ExpectError func(err error, v any) bool
}

type Cases

type Cases = []Case

Jump to

Keyboard shortcuts

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