1
0
mirror of https://github.com/restic/restic.git synced 2024-07-01 08:30:53 +02:00
restic/internal/snapshot_test.go

16 lines
262 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"
2017-07-23 14:21:03 +02:00
"github.com/restic/restic/internal"
. "github.com/restic/restic/internal/test"
2014-08-04 20:47:04 +02:00
)
func TestNewSnapshot(t *testing.T) {
paths := []string{"/home/foobar"}
2017-02-10 19:37:33 +01:00
_, err := restic.NewSnapshot(paths, nil, "foo")
OK(t, err)
2014-08-04 20:47:04 +02:00
}