]> Cypherpunks repositories - gostls13.git/commit
compress/flate: fix test
authorRuss Cox <rsc@golang.org>
Sat, 5 Mar 2011 19:35:03 +0000 (14:35 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 5 Mar 2011 19:35:03 +0000 (14:35 -0500)
commitd044674a0dbca127307bf37f32348874110f3ec6
treeda101f5a41c890d1ce6a4d52cf1a60d9b4f98928
parent11695596588172331984de8a443eedbd44c56bd5
compress/flate: fix test

The test was checking for a buffer to be empty but
actually racing with the background goroutine that
was emptying it.  Left a comment so that the check
is not reintroduced later.

Fixes #1557.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4248063
src/pkg/compress/flate/deflate_test.go