testutil

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(t *testing.T, gopath string, files []string, diagnostics []runner.Diagnostic, facts []runner.TestFact)

func CheckSuggestedFixes

func CheckSuggestedFixes(t *testing.T, diagnostics []runner.Diagnostic)

func Run

func Run(t *testing.T, analyzers []*lint.Analyzer, tests map[string][]Test)

Types

type Test

type Test struct {
	Dir     string
	Version string
}

Jump to

Keyboard shortcuts

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