mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
Fix test
This commit is contained in:
parent
9fe5a87785
commit
d90efd7704
@ -1089,7 +1089,7 @@ type emptySaveBackend struct {
|
||||
}
|
||||
|
||||
func (b *emptySaveBackend) Save(ctx context.Context, h restic.Handle, rd restic.RewindReader) error {
|
||||
return b.Backend.Save(ctx, h, restic.NewByteReader(make([]byte, 0)))
|
||||
return b.Backend.Save(ctx, h, restic.NewByteReader([]byte{}, nil))
|
||||
}
|
||||
|
||||
func TestKeyProblems(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user