Skip to content

Commit

Permalink
benchmark/parse: fix format
Browse files Browse the repository at this point in the history
The format of the parse_test.go file was not consistent. This commit
fixes the format of the file.

Change-Id: I5ee8d5ae77b9830f58f15d83e724875367e894bd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/566376
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
  • Loading branch information
sivchari authored and gopherbot committed Feb 27, 2024
1 parent c1f340a commit 77c2a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/parse/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ func TestParseLine(t *testing.T) {
// error handling cases
{
line: "BenchPress 100 19.6 ns/op", // non-benchmark
err: true,
err: true,
},
{
line: "BenchmarkEncrypt lots 19.6 ns/op", // non-int iterations
err: true,
err: true,
},
{
line: "BenchmarkBridge 100000000 19.6 smoots", // unknown unit
Expand Down

0 comments on commit 77c2a67

Please sign in to comment.