From 8ef9ea29656658d44bc4e5bd4150e1f544da8f6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= <stemmertech@gmail.com>
Date: Sat, 5 Oct 2019 19:06:57 +0100
Subject: [PATCH] parser/gotest: Add test 25

---
 pkg/parser/gotest/gotest_test.go | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/pkg/parser/gotest/gotest_test.go b/pkg/parser/gotest/gotest_test.go
index 77456a5..2a922aa 100644
--- a/pkg/parser/gotest/gotest_test.go
+++ b/pkg/parser/gotest/gotest_test.go
@@ -371,7 +371,20 @@ var tests = []struct {
 			{Type: "summary", Result: "ok", Name: "package3/baz", Duration: 1382 * time.Millisecond},
 		}},
 	{"25-benchcount",
-		[]gtr.Event{}},
+		[]gtr.Event{
+			{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 350, BytesPerOp: 80, AllocsPerOp: 3},
+			{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 357, BytesPerOp: 80, AllocsPerOp: 3},
+			{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 354, BytesPerOp: 80, AllocsPerOp: 3},
+			{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 358, BytesPerOp: 80, AllocsPerOp: 3},
+			{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 345, BytesPerOp: 80, AllocsPerOp: 3},
+			{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 100, BytesPerOp: 20, AllocsPerOp: 1},
+			{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 105, BytesPerOp: 20, AllocsPerOp: 1},
+			{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 102, BytesPerOp: 20, AllocsPerOp: 1},
+			{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 102, BytesPerOp: 20, AllocsPerOp: 1},
+			{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 102, BytesPerOp: 20, AllocsPerOp: 1},
+			{Type: "status", Result: "PASS"},
+			{Type: "summary", Result: "ok", Name: "pkg/count", Duration: 14211 * time.Millisecond},
+		}},
 	{"26-testbenchmultiple", []gtr.Event{}},
 	{"27-benchdecimal", []gtr.Event{}},
 	{"28-bench-1cpu", []gtr.Event{}},