restic/snapshot_test.go
2015-06-28 13:52:22 +02:00

15 lines
232 B
Go

package restic_test
import (
"testing"
"github.com/restic/restic"
. "github.com/restic/restic/test"
)
func TestNewSnapshot(t *testing.T) {
paths := []string{"/home/foobar"}
_, err := restic.NewSnapshot(paths)
OK(t, err)
}