mirror of
https://github.com/restic/restic.git
synced 2025-08-13 14:30:36 +00:00
Fix benchmark for EncryptWriter
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user