aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/bytes/bytes_test.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-12-20 09:51:39 -0800
committerRob Pike <r@golang.org>2011-12-20 09:51:39 -0800
commitc50e4f5e2f260ff2b68a127843b197443460043f (patch)
treeb80376779c06e96ef4f703b3d436ea9c00856517 /src/pkg/bytes/bytes_test.go
parent7be6229f9fa404eaac0d98951c2b6c970a3ee8d9 (diff)
downloadgo-c50e4f5e2f260ff2b68a127843b197443460043f.tar.xz
testing: allow benchmarks to print and fail
Refactors the benchmarks and test code. Now benchmarks can call Errorf, Fail, etc., and the runner will act accordingly. Because functionality has been folded into an embedded type, a number of methods' docs no longer appear in godoc output. A fix is underway; if it doesn't happen fast enough, I'll add wrapper methods to restore the documentation. R=bradfitz, adg, rsc CC=golang-dev https://golang.org/cl/5492060
Diffstat (limited to 'src/pkg/bytes/bytes_test.go')
0 files changed, 0 insertions, 0 deletions