forked from Ivasoft/traefik
refactor: ordering imports.
This commit is contained in:
committed by
Ludovic Fernandez
parent
63f9bccf9f
commit
2223587fc0
@@ -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 {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user