func TestRunGovulncheckError(t *testing.T) { … }
func TestRunGovulncheckError2(t *testing.T) { … }
const vulnsData …
func TestRunGovulncheckStd(t *testing.T) { … }
func TestFetchVulncheckResultStd(t *testing.T) { … }
type fetchVulncheckResult …
func testFetchVulncheckResult(t *testing.T, env *Env, runPath string, fromRun *vulncheck.Result, want map[string]fetchVulncheckResult) { … }
const workspace1 …
const proxy1 …
func vulnTestEnv(proxyData string) (*vulntest.DB, []RunOption, error) { … }
func TestRunVulncheckPackageDiagnostics(t *testing.T) { … }
func TestRunGovulncheck_Expiry(t *testing.T) { … }
func stringify(a interface{ … }
func TestRunVulncheckWarning(t *testing.T) { … }
func diffCodeActions(gotActions []protocol.CodeAction, want []string) string { … }
const workspace2 …
const proxy2 …
func TestGovulncheckInfo(t *testing.T) { … }
func testVulnDiagnostics(t *testing.T, env *Env, pattern string, want vulnDiagExpectation, got *protocol.PublishDiagnosticsParams) []protocol.Diagnostic { … }
type vulnRelatedInfo …
type vulnDiag …
type vulnDiagExpectation …