Index: src/pkg/testing/testing.go |
=================================================================== |
--- a/src/pkg/testing/testing.go |
+++ b/src/pkg/testing/testing.go |
@@ -144,7 +144,7 @@ |
for i := 0; i < len(tests); i++ { |
matched, err := matchString(*match, tests[i].Name) |
if err != nil { |
- println("invalid regexp for -match:", err) |
+ println("invalid regexp for -match:", err.String()) |
os.Exit(1) |
} |
if !matched { |