Move testlib to internal

This commit is contained in:
9seconds
2021-04-02 21:32:06 +03:00
parent 2fe04c7c9b
commit 24fdec6694
19 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"testing"
"github.com/9seconds/mtg/v2/config"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib"
"github.com/9seconds/mtg/v2/testlib"
"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/suite"
"github.com/xeipuuv/gojsonschema"
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib"
"github.com/9seconds/mtg/v2/testlib"
"github.com/stretchr/testify/suite"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"github.com/9seconds/mtg/v2/cli"
"github.com/9seconds/mtg/v2/testlib"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
+1 -1
View File
@@ -10,10 +10,10 @@ import (
"testing"
"time"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/ipblocklist"
"github.com/9seconds/mtg/v2/logger"
"github.com/9seconds/mtg/v2/network"
"github.com/9seconds/mtg/v2/testlib"
"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"io"
"testing"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/logger"
"github.com/9seconds/mtg/v2/testlib"
"github.com/stretchr/testify/suite"
)
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/9seconds/mtg/v2/testlib"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
)
+1 -1
View File
@@ -7,9 +7,9 @@ import (
"math/rand"
"testing"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib/internal/faketls"
"github.com/9seconds/mtg/v2/mtglib/internal/faketls/record"
"github.com/9seconds/mtg/v2/testlib"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
)
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib/internal/obfuscated2"
"github.com/9seconds/mtg/v2/testlib"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
@@ -7,8 +7,8 @@ import (
"encoding/base64"
"testing"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib/internal/obfuscated2"
"github.com/9seconds/mtg/v2/testlib"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"io"
"testing"
"github.com/9seconds/mtg/v2/testlib"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
)
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"testing"
"time"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib/internal/relay"
"github.com/9seconds/mtg/v2/testlib"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
)
@@ -8,7 +8,7 @@ import (
"strconv"
"testing"
"github.com/9seconds/mtg/v2/testlib"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net"
"testing"
"github.com/9seconds/mtg/v2/testlib"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/stretchr/testify/suite"
)
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/9seconds/mtg/v2/testlib"
"github.com/9seconds/mtg/v2/internal/testlib"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
)