]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix typo
authorSameer Ajmani <sameer@golang.org>
Fri, 19 Sep 2014 19:59:47 +0000 (15:59 -0400)
committerSameer Ajmani <sameer@golang.org>
Fri, 19 Sep 2014 19:59:47 +0000 (15:59 -0400)
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/138700043

src/cmd/go/test.go

index e990b17bfaf915ece8f728ec3412ab04f5b6227d..c135b89c841181c088d8da87f2233b603129b3dc 100644 (file)
@@ -49,7 +49,7 @@ It prints a summary of the test results in the format:
 followed by detailed output for each failed package.
 
 'Go test' recompiles each package along with any files with names matching
-the file pattern "*_test.go". 
+the file pattern "*_test.go".
 Files whose names begin with "_" (including "_test.go") or "." are ignored.
 These additional files can contain test functions, benchmark functions, and
 example functions.  See 'go help testfunc' for more.
@@ -1059,7 +1059,7 @@ func (b *builder) notest(a *action) error {
        return nil
 }
 
-// isTestMain tells whether fn is a TestMain(m *testing.Main) function.
+// isTestMain tells whether fn is a TestMain(m *testing.M) function.
 func isTestMain(fn *ast.FuncDecl) bool {
        if fn.Name.String() != "TestMain" ||
                fn.Type.Results != nil && len(fn.Type.Results.List) > 0 ||