package testutil
import "honnef.co/go/tools/analysis/lint/testutil"
Index ¶
- func Check(t *testing.T, gopath string, files []string, diagnostics []runner.Diagnostic, facts []runner.TestFact)
- func CheckSuggestedFixes(t *testing.T, diagnostics []runner.Diagnostic)
- func Run(t *testing.T, analyzers []*lint.Analyzer, tests map[string][]Test)
- type Test
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 ¶
Types ¶
type Test ¶
Source Files ¶
check.go util.go
- Version
- v0.4.1
- Published
- Feb 14, 2023
- Platform
- darwin/amd64
- Imports
- 23 packages
- Last checked
- 35 minutes ago –
Tools for package owners.