src: fix a couple of govet-discovered errors.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5021042
diff --git a/src/pkg/exp/regexp/exec_test.go b/src/pkg/exp/regexp/exec_test.go
index e8eaff5..3adf848 100644
--- a/src/pkg/exp/regexp/exec_test.go
+++ b/src/pkg/exp/regexp/exec_test.go
@@ -558,7 +558,7 @@
 			}
 			have := re.FindStringSubmatchIndex(text)
 			if (len(have) > 0) != match {
-				t.Errorf("%s:%d: %#q.Match(%#q) = %v, but %#q.FindSubmatchIndex(%#q) = %v", file, lineno, pattern, text, match, text, have)
+				t.Errorf("%s:%d: %#q.Match(%#q) = %v, but %#q.FindSubmatchIndex(%#q) = %v", file, lineno, pattern, text, match, pattern, text, have)
 				continue Testing
 			}
 			if len(have) > len(pos) {