Add fuzz tests

This commit is contained in:
Nigel Tao committed 2018-02-17 14:14:38 +11:00
1 parent 446d4662db
commit b23c235067
5 files changed
+278 -2

No files matched your search

+3 -1
View File
@@ -81,7 +81,9 @@ func checkPackageName(s string) string {
return ""
}
s = strings.ToLower(s)
if s == "base" || s == "base_header" || s == "base_impl" {
// Blacklist certain package names.
switch s {
case "base", "base_header", "base_impl", "config", "version":
return ""
}
return s