mirror of
https://github.com/octoleo/restic.git
synced 2024-10-31 19:02:32 +00:00
16 lines
232 B
Go
16 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)
|
|
}
|