We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a5475 commit c536135Copy full SHA for c536135
1 file changed
internal/endtoend/endtoend_test.go
@@ -60,8 +60,8 @@ func BenchmarkExamples(b *testing.B) {
60
tc := replay.Name()
61
b.Run(tc, func(b *testing.B) {
62
path := filepath.Join(examples, tc)
63
- var stderr bytes.Buffer
64
for i := 0; i < b.N; i++ {
+ var stderr bytes.Buffer
65
cmd.Generate(cmd.Env{}, path, &stderr)
66
}
67
})
@@ -183,8 +183,8 @@ func BenchmarkReplay(b *testing.B) {
183
tc := replay
184
185
path, _ := filepath.Abs(tc)
186
187
188
189
190
0 commit comments