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) { … }
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) { … }