restic/snapshot_test.go

16 lines
232 B
Go
Raw Normal View History

2014-12-05 15:45:49 -05:00
package restic_test
2014-08-04 14:47:04 -04:00
import (
"testing"
2014-12-05 15:45:49 -05:00
"github.com/restic/restic"
2015-04-09 15:15:48 -04:00
. "github.com/restic/restic/test"
2014-08-04 14:47:04 -04:00
)
func TestNewSnapshot(t *testing.T) {
paths := []string{"/home/foobar"}
_, err := restic.NewSnapshot(paths)
OK(t, err)
2014-08-04 14:47:04 -04:00
}