• Russ Cox's avatar
    compress/flate: fix test · d044674a
    Russ Cox authored
    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
    d044674a
deflate_test.go 7.07 KB