mirror of
https://github.com/restic/restic.git
synced 2026-07-02 21:44:17 +00:00
Add more error handling
This commit is contained in:
@@ -29,7 +29,8 @@ func BenchmarkNodeFillUser(t *testing.B) {
|
||||
t.ResetTimer()
|
||||
|
||||
for i := 0; i < t.N; i++ {
|
||||
restic.NodeFromFileInfo(path, fi)
|
||||
_, err := restic.NodeFromFileInfo(path, fi)
|
||||
rtest.OK(t, err)
|
||||
}
|
||||
|
||||
rtest.OK(t, tempfile.Close())
|
||||
|
||||
Reference in New Issue
Block a user