From 57636a45733256e71b9331885e4ee779d0bc954b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 21 Jul 2018 20:56:24 +0200 Subject: [PATCH] restorer: Run tests in the same package --- internal/restorer/restorer_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/internal/restorer/restorer_test.go b/internal/restorer/restorer_test.go index 83a178150..1957df14a 100644 --- a/internal/restorer/restorer_test.go +++ b/internal/restorer/restorer_test.go @@ -1,4 +1,4 @@ -package restorer_test +package restorer import ( "bytes" @@ -13,7 +13,6 @@ import ( "github.com/restic/restic/internal/fs" "github.com/restic/restic/internal/repository" "github.com/restic/restic/internal/restic" - "github.com/restic/restic/internal/restorer" rtest "github.com/restic/restic/internal/test" ) @@ -301,7 +300,7 @@ func TestRestorer(t *testing.T) { _, id := saveSnapshot(t, repo, test.Snapshot) t.Logf("snapshot saved as %v", id.Str()) - res, err := restorer.NewRestorer(repo, id) + res, err := NewRestorer(repo, id) if err != nil { t.Fatal(err) } @@ -422,7 +421,7 @@ func TestRestorerRelative(t *testing.T) { _, id := saveSnapshot(t, repo, test.Snapshot) t.Logf("snapshot saved as %v", id.Str()) - res, err := restorer.NewRestorer(repo, id) + res, err := NewRestorer(repo, id) if err != nil { t.Fatal(err) }