diff options
author | Matt T. Proud <matt.proud@gmail.com> | 2015-02-01 10:17:49 -0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-02-02 17:07:43 +0000 |
commit | 7f3a9aa4e4b3fd6589c270d7dc9b672093864843 (patch) | |
tree | 73d8405f7c1dc2220ff7e8bce66d3f9dcb42daa0 | |
parent | 1afe783e9f23b46389ab7a439ed4e0eee558382a (diff) | |
download | tools-7f3a9aa4e4b3fd6589c270d7dc9b672093864843.tar.gz |
benchmark/parse: fix cosmetic defect in error str.
The "Benchmark" header parser's error string lacked a closing double
quotation mark.
Change-Id: I2361cc86866296503f2733aa84b3fd52cdf33c09
Reviewed-on: https://go-review.googlesource.com/3683
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | benchmark/parse/parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/parse/parse.go b/benchmark/parse/parse.go index 1fb6223..b37e6f0 100644 --- a/benchmark/parse/parse.go +++ b/benchmark/parse/parse.go @@ -46,7 +46,7 @@ func ParseLine(line string) (*Benchmark, error) { return nil, fmt.Errorf("two fields required, have %d", len(fields)) } if !strings.HasPrefix(fields[0], "Benchmark") { - return nil, fmt.Errorf(`first field does not start with "Benchmark`) + return nil, fmt.Errorf(`first field does not start with "Benchmark"`) } n, err := strconv.Atoi(fields[1]) if err != nil { |