]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/cover: fix typo
authorKevin Burke <kev@inburke.com>
Tue, 4 Oct 2016 22:38:46 +0000 (15:38 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Oct 2016 22:45:59 +0000 (22:45 +0000)
Change-Id: I3f13488605ab62eba5d3c59d5e9df1bcf69dd571
Reviewed-on: https://go-review.googlesource.com/30355
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/cover/cover_test.go

index 826d57d6b7d6ccec189057c67bed1218c28b5f1a..50a7ce829f1c00d4eb31ebe44b32b82b53f255b8 100644 (file)
@@ -90,7 +90,7 @@ func TestCover(t *testing.T) {
        if got, err := regexp.MatchString(".*\n//go:nosplit\nfunc someFunction().*", string(file)); err != nil || !got {
                t.Errorf("misplaced compiler directive: got=(%v, %v); want=(true; nil)", got, err)
        }
-       // No other comments should be present in generaed code.
+       // No other comments should be present in generated code.
        c := ".*// This comment shouldn't appear in generated go code.*"
        if got, err := regexp.MatchString(c, string(file)); err != nil || got {
                t.Errorf("non compiler directive comment %q found. got=(%v, %v); want=(false; nil)", c, got, err)