var depsRules … // listStdPkgs returns the same list of packages as "go list std". func listStdPkgs(goroot string) ([]string, error) { … } func TestDependencies(t *testing.T) { … } var buildIgnore … func findImports(pkg string) ([]string, error) { … } // depsPolicy returns a map m such that m[p][d] == true when p can import d. func depsPolicy(t *testing.T) *dag.Graph { … } // TestStdlibLowercase tests that all standard library package names are // lowercase. See Issue 40065. func TestStdlibLowercase(t *testing.T) { … } // TestFindImports tests that findImports works. See #43249. func TestFindImports(t *testing.T) { … }