Run goimports

This commit is contained in:
Alexander Neumann
2017-07-23 14:21:03 +02:00
parent 83d1a46526
commit 6caeff2408
158 changed files with 524 additions and 438 deletions

View File

@@ -4,9 +4,10 @@ import (
"bytes"
"context"
"io"
"restic"
"restic/test"
"testing"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/test"
)
func saveRandomFile(t testing.TB, be restic.Backend, length int) ([]byte, restic.Handle) {

View File

@@ -2,11 +2,12 @@ package test
import (
"reflect"
"restic"
"restic/test"
"strings"
"testing"
"time"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/test"
)
// Suite implements a test suite for restic backends.

View File

@@ -9,16 +9,17 @@ import (
"math/rand"
"os"
"reflect"
"restic"
"restic/errors"
"sort"
"strings"
"testing"
"time"
"restic/test"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/errors"
"restic/backend"
"github.com/restic/restic/internal/test"
"github.com/restic/restic/internal/backend"
)
func seedRand(t testing.TB) {

View File

@@ -2,12 +2,13 @@ package test_test
import (
"context"
"restic"
"restic/errors"
"testing"
"restic/backend/mem"
"restic/backend/test"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/backend/mem"
"github.com/restic/restic/internal/backend/test"
)
//go:generate go run generate_test_list.go