summaryrefslogtreecommitdiff
path: root/src/pkg/crypto
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-05-07 14:32:34 -0700
committerRob Pike <r@golang.org>2010-05-07 14:32:34 -0700
commit24ba6df00e960d0b6996b613fd936ebf077c6d3b (patch)
treeacb18759d7c845589943d87dc9c5804e62def6cb /src/pkg/crypto
parent57fa5e7bb717b100f4e6b169899a465daeb3068f (diff)
downloadgolang-24ba6df00e960d0b6996b613fd936ebf077c6d3b.tar.gz
compress: renamings.
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev http://codereview.appspot.com/1166041
Diffstat (limited to 'src/pkg/crypto')
-rw-r--r--src/pkg/crypto/rand/rand_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/rand/rand_test.go b/src/pkg/crypto/rand/rand_test.go
index dfc6cdd71..f64ead4ca 100644
--- a/src/pkg/crypto/rand/rand_test.go
+++ b/src/pkg/crypto/rand/rand_test.go
@@ -18,7 +18,7 @@ func TestRead(t *testing.T) {
}
var z bytes.Buffer
- f := flate.NewDeflater(&z, 5)
+ f := flate.NewWriter(&z, 5)
f.Write(b)
f.Close()
if z.Len() < len(b)*99/100 {