Documentation
¶
Overview ¶
Package analyzertest provides regression-test helpers for custom linters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTogether ¶
func RunTogether(t *testing.T, testdata string, analyzers []*analysis.Analyzer, patterns ...string) []*analysistest.Result
RunTogether checks independent diagnostic-only analyzers against one fixture. Diagnostic messages are prefixed with the originating analyzer's name so want comments can distinguish overlapping reports. The analysis test driver runs their dependencies; each analyzer receives only its own dependency results. Analyzers that produce results or facts, or depend on another selected analyzer, are unsupported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.