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