summaryrefslogtreecommitdiff
path: root/src/pkg/compress/zlib/writer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/compress/zlib/writer_test.go')
-rw-r--r--src/pkg/compress/zlib/writer_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pkg/compress/zlib/writer_test.go b/src/pkg/compress/zlib/writer_test.go
index 32f05ab68..a71894da3 100644
--- a/src/pkg/compress/zlib/writer_test.go
+++ b/src/pkg/compress/zlib/writer_test.go
@@ -59,10 +59,6 @@ func testLevelDict(t *testing.T, fn string, b0 []byte, level int, d string) {
}
defer zlibw.Close()
_, err = zlibw.Write(b0)
- if err == os.EPIPE {
- // Fail, but do not report the error, as some other (presumably reported) error broke the pipe.
- return
- }
if err != nil {
t.Errorf("%s (level=%d, dict=%q): %v", fn, level, d, err)
return