2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-26 04:17:29 +00:00

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())
}
}