1
0
mirror of https://github.com/restic/restic.git synced 2024-06-26 07:49:01 +02:00
restic/snapshot_test.go

19 lines
284 B
Go
Raw Normal View History

2014-12-05 21:45:49 +01:00
package restic_test
2014-08-04 20:47:04 +02:00
import (
"testing"
2014-12-05 21:45:49 +01:00
"github.com/restic/restic"
2015-04-09 21:15:48 +02:00
. "github.com/restic/restic/test"
2014-08-04 20:47:04 +02:00
)
func TestNewSnapshot(t *testing.T) {
2015-04-26 14:46:15 +02:00
s := SetupBackend(t)
defer TeardownBackend(t, s)
2014-09-23 22:39:12 +02:00
paths := []string{"/home/foobar"}
_, err := restic.NewSnapshot(paths)
OK(t, err)
2014-08-04 20:47:04 +02:00
}