mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 11:46:36 +00:00
16 lines
208 B
Go
16 lines
208 B
Go
package restic_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"restic"
|
|
. "restic/test"
|
|
)
|
|
|
|
func TestNewSnapshot(t *testing.T) {
|
|
paths := []string{"/home/foobar"}
|
|
|
|
_, err := restic.NewSnapshot(paths, nil, "foo")
|
|
OK(t, err)
|
|
}
|