]> Cypherpunks repositories - gostls13.git/commit
bytes, strings: add Reader.ReadAt race tests
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 10 Apr 2014 22:46:07 +0000 (15:46 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 10 Apr 2014 22:46:07 +0000 (15:46 -0700)
commit2dbc5d26c773e4400c0adfc25d9160eeaf6530b0
tree53be230ef35a8aabe78891219fdd03795d2affdd
parent1e68e6ae21ec4e88f7f59635831be74e39b26f7c
bytes, strings: add Reader.ReadAt race tests

Tests for the race detector to catch anybody
trying to mutate Reader in ReadAt.

LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/86700043
src/pkg/bytes/reader.go
src/pkg/bytes/reader_test.go
src/pkg/strings/reader.go
src/pkg/strings/reader_test.go