package testutil
import "honnef.co/go/tools/analysis/lint/testutil"
Index ¶
- func Check(t *testing.T, gopath string, diagnostics []runner.Diagnostic, wants []runner.Want, 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, diagnostics []runner.Diagnostic, wants []runner.Want, 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.0-0.dev
- Published
- Mar 30, 2022
- Platform
- js/wasm
- Imports
- 25 packages
- Last checked
- 22 minutes ago –
Tools for package owners.