mirror of
https://github.com/restic/restic.git
synced 2026-11-03 14:05:33 +00:00
tests updated
This commit is contained in:
1 parent
43ff971dfd
commit
087c3fe1dc
4 files changed
+7
-5
No files matched your search
@@ -2,6 +2,7 @@ package restic_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/restic/restic/internal/restic"
|
||||
. "github.com/restic/restic/internal/test"
|
||||
@@ -10,6 +11,6 @@ import (
|
||||
func TestNewSnapshot(t *testing.T) {
|
||||
paths := []string{"/home/foobar"}
|
||||
|
||||
_, err := restic.NewSnapshot(paths, nil, "foo")
|
||||
_, err := restic.NewSnapshot(paths, nil, "foo", time.Now())
|
||||
OK(t, err)
|
||||
}
|
||||
Reference in new issue
Block a user