summaryrefslogtreecommitdiff
path: root/libgo/go/crypto/rand/rand_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/rand/rand_test.go')
-rw-r--r--libgo/go/crypto/rand/rand_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/crypto/rand/rand_test.go b/libgo/go/crypto/rand/rand_test.go
index bfae7ce4f9b..be3a5a221d7 100644
--- a/libgo/go/crypto/rand/rand_test.go
+++ b/libgo/go/crypto/rand/rand_test.go
@@ -22,7 +22,7 @@ func TestRead(t *testing.T) {
}
var z bytes.Buffer
- f := flate.NewWriter(&z, 5)
+ f, _ := flate.NewWriter(&z, 5)
f.Write(b)
f.Close()
if z.Len() < len(b)*99/100 {