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

16 lines
208 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"
"restic"
. "restic/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
}