diff options
| author | Kevin Burke <kev@inburke.com> | 2016-10-04 15:38:46 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-10-04 22:45:59 +0000 |
| commit | 44009a24138b6c7b5fd5b4be113db44fdfd1678e (patch) | |
| tree | c1fa276d086c0da8dba226d2b303156f5db544d3 /src | |
| parent | 316f93f7164d015ce82f341bd58657cc84f2cc69 (diff) | |
| download | go-44009a24138b6c7b5fd5b4be113db44fdfd1678e.tar.xz | |
cmd/cover: fix typo
Change-Id: I3f13488605ab62eba5d3c59d5e9df1bcf69dd571
Reviewed-on: https://go-review.googlesource.com/30355
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/cover/cover_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cover/cover_test.go b/src/cmd/cover/cover_test.go index 826d57d6b7..50a7ce829f 100644 --- a/src/cmd/cover/cover_test.go +++ b/src/cmd/cover/cover_test.go @@ -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) |
