usagetest

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, standardImports []string, tests []Case, cmpOpts ...cmp.Option)

Types

type Case

type Case struct {
	Name     string
	Imports  []string
	Code     string
	Want     []usage.Usage
	WantErrs []string
}

Jump to

Keyboard shortcuts

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