tests updated

This commit is contained in:
Tobias Klein committed 2017-09-09 13:26:35 +02:00
1 parent 43ff971dfd
commit 087c3fe1dc
4 files changed
+7 -5

No files matched your search

+2 -1
View File
@@ -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)
}