go/src/go/build/vendor_test.go

var allowedPackagePrefixes

// Verify that the vendor directories contain only packages matching the list above.
func TestVendorPackages(t *testing.T) {}

func isAllowed(pkg string) bool {}

func TestIsAllowed(t *testing.T) {}