mirror of
https://github.com/restic/restic.git
synced 2026-08-18 19:43:28 +00:00
move Backend interface to backend package
This commit is contained in:
@@ -3,15 +3,15 @@ package location_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/restic/restic/internal/backend"
|
||||
"github.com/restic/restic/internal/backend/location"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
"github.com/restic/restic/internal/test"
|
||||
)
|
||||
|
||||
func TestStripPassword(t *testing.T) {
|
||||
registry := location.NewRegistry()
|
||||
registry.Register(
|
||||
location.NewHTTPBackendFactory[any, restic.Backend]("test", nil,
|
||||
location.NewHTTPBackendFactory[any, backend.Backend]("test", nil,
|
||||
func(s string) string {
|
||||
return "cleaned"
|
||||
}, nil, nil,
|
||||
|
||||
Reference in New Issue
Block a user