Replacing gopkg.in/check.v1 with minio-io/check

This commit is contained in:
Frederick F. Kautz IV
2015-04-04 13:37:30 -07:00
parent e6abca1a63
commit be4bc44b4d
35 changed files with 139 additions and 133 deletions

View File

@@ -40,7 +40,7 @@ import (
"github.com/minio-io/minio/pkg/drivers/mocks"
"github.com/stretchr/testify/mock"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -23,8 +23,8 @@ import (
"sync"
"testing"
. "github.com/minio-io/check"
"github.com/minio-io/minio/pkg/utils/crypto/keys"
. "gopkg.in/check.v1"
)
type MySuite struct{}

View File

@@ -21,7 +21,7 @@ import (
"math/rand"
"strconv"
"gopkg.in/check.v1"
"github.com/minio-io/check"
"time"
)

View File

@@ -23,7 +23,7 @@ import (
"github.com/minio-io/minio/pkg/drivers"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -23,7 +23,7 @@ import (
"github.com/minio-io/minio/pkg/drivers"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -21,7 +21,7 @@ import (
"github.com/minio-io/minio/pkg/drivers"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -20,7 +20,7 @@ import (
"bytes"
"testing"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
type MySuite struct{}

View File

@@ -19,7 +19,7 @@ package erasure
import (
"bytes"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte {

View File

@@ -8,7 +8,7 @@ import (
"testing"
"time"
. "gopkg.in/check.v1"
. "github.com/minio-io/check"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -23,8 +23,8 @@ import (
"strings"
"testing"
. "github.com/minio-io/check"
"github.com/minio-io/minio/pkg/utils/cpu"
. "gopkg.in/check.v1"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -19,8 +19,8 @@ package keys_test
import (
"testing"
. "github.com/minio-io/check"
"github.com/minio-io/minio/pkg/utils/crypto/keys"
. "gopkg.in/check.v1"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -5,8 +5,8 @@ import (
"encoding/hex"
"testing"
. "github.com/minio-io/check"
"github.com/minio-io/minio/pkg/utils/crypto/md5"
. "gopkg.in/check.v1"
)
func Test(t *testing.T) { TestingT(t) }

View File

@@ -24,8 +24,8 @@ import (
"strconv"
"testing"
. "github.com/minio-io/check"
"github.com/minio-io/minio/pkg/utils/split"
. "gopkg.in/check.v1"
)
type MySuite struct{}