mirror of
https://github.com/octoleo/restic.git
synced 2024-11-05 04:47:51 +00:00
18 lines
246 B
Go
18 lines
246 B
Go
package backend_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
bes3 "github.com/restic/restic/backend/s3"
|
|
)
|
|
|
|
func TestS3Backend(t *testing.T) {
|
|
s, err := bes3.Open("play.minio.io:9000", "restictestbucket")
|
|
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
|
|
testBackend(s, t)
|
|
}
|