Fix benchmark for EncryptWriter

This commit is contained in:
Alexander Neumann 2015-03-14 22:42:30 +01:00
parent 12c8522b33
commit 56bca76b74

View file

@ -103,6 +103,7 @@ func BenchmarkEncryptWriter(b *testing.B) {
wr := k.EncryptTo(ioutil.Discard)
_, err := io.Copy(wr, rd)
ok(b, err)
ok(b, wr.Close())
}
}