refactor: ordering imports.

This commit is contained in:
Fernandez Ludovic 2017-06-03 14:56:25 +02:00 committed by Ludovic Fernandez
parent 63f9bccf9f
commit 2223587fc0
3 changed files with 9 additions and 8 deletions

View file

@ -1,11 +1,12 @@
package mocks package mocks
import "github.com/gambol99/go-marathon" import (
import "github.com/stretchr/testify/mock" "net/url"
"time"
import "net/url" "github.com/gambol99/go-marathon"
"github.com/stretchr/testify/mock"
import "time" )
// Marathon is a mock of marathon.Marathon // Marathon is a mock of marathon.Marathon
type Marathon struct { type Marathon struct {

View file

@ -2,11 +2,10 @@ package marathon
import ( import (
"errors" "errors"
"fmt"
"reflect" "reflect"
"testing" "testing"
"fmt"
"github.com/containous/traefik/mocks" "github.com/containous/traefik/mocks"
"github.com/containous/traefik/testhelpers" "github.com/containous/traefik/testhelpers"
"github.com/containous/traefik/types" "github.com/containous/traefik/types"

View file

@ -1,8 +1,9 @@
package provider package provider
import ( import (
"github.com/stretchr/testify/assert"
"testing" "testing"
"github.com/stretchr/testify/assert"
) )
func TestSplitAndTrimString(t *testing.T) { func TestSplitAndTrimString(t *testing.T) {