mirror of
https://github.com/restic/restic.git
synced 2026-11-15 18:36:45 +00:00
Fix benchmark for EncryptWriter
This commit is contained in:
1 parent
12c8522b33
commit
56bca76b74
1 file changed
+1
@@ -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