mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
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:
@@ -14,3 +14,6 @@ func TestFail2(t *testing.T) {
|
||||
|
||||
func TestPass(t *testing.T) {
|
||||
}
|
||||
|
||||
func BenchmarkNotImplemented(b *testing.B) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user