testing: Add Benchmark B struct stub

This struct allows test files containing basic benchmarks to compile
and run, but will not run the benchmarks themselves.

For #491
This commit is contained in:
Brad Erickson
2019-08-10 17:00:08 -07:00
committed by Ayke
parent 4ea59742d7
commit 7c758b0dfc
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -14,3 +14,6 @@ func TestFail2(t *testing.T) {
func TestPass(t *testing.T) {
}
func BenchmarkNotImplemented(b *testing.B) {
}