Show errors for both return values, not just first.
diff --git a/util/normalizename_test.go b/util/normalizename_test.go
index a4fdac5..c6f4d02 100644
--- a/util/normalizename_test.go
+++ b/util/normalizename_test.go
@@ -38,10 +38,10 @@
 	}
 	for _, test := range packages {
 		root, extra := NormalizeName(test.input)
-		switch {
-		case root != test.root:
+		if root != test.root {
 			t.Errorf("%s: Expected root '%s', got '%s'", test.input, test.root, root)
-		case extra != test.extra:
+		}
+		if extra != test.extra {
 			t.Errorf("%s: Expected extra '%s', got '%s'", test.input, test.extra, extra)
 		}
 	}