mirror of
https://github.com/restic/restic.git
synced 2025-12-04 00:01:48 +00:00
move Backend interface to backend package
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"syscall"
|
||||
"testing"
|
||||
|
||||
"github.com/restic/restic/internal/restic"
|
||||
"github.com/restic/restic/internal/backend"
|
||||
rtest "github.com/restic/restic/internal/test"
|
||||
|
||||
"github.com/cenkalti/backoff/v4"
|
||||
@@ -32,7 +32,7 @@ func TestNoSpacePermanent(t *testing.T) {
|
||||
rtest.OK(t, be.Close())
|
||||
}()
|
||||
|
||||
h := restic.Handle{Type: restic.ConfigFile}
|
||||
h := backend.Handle{Type: backend.ConfigFile}
|
||||
err = be.Save(context.Background(), h, nil)
|
||||
_, ok := err.(*backoff.PermanentError)
|
||||
rtest.Assert(t, ok,
|
||||
|
||||
Reference in New Issue
Block a user