Skip to content

Commit

Permalink
Remove usage of additional test package (vitessio#15007)
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <[email protected]>
  • Loading branch information
dbussink authored Jan 22, 2024
1 parent 4a6b138 commit b600894
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 11 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ require (
github.com/klauspost/compress v1.17.4
github.com/klauspost/pgzip v1.2.6
github.com/krishicks/yaml-patch v0.0.10
github.com/magiconair/properties v1.8.7
github.com/magiconair/properties v1.8.7 // indirect
github.com/minio/minio-go v0.0.0-20190131015406-c8a261de75c1
github.com/montanaflynn/stats v0.7.1
github.com/olekukonko/tablewriter v0.0.5
Expand Down Expand Up @@ -88,7 +88,6 @@ require (
gopkg.in/DataDog/dd-trace-go.v1 v1.59.0
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
gopkg.in/ldap.v2 v2.5.1
gotest.tools v2.2.0+incompatible
sigs.k8s.io/yaml v1.4.0
)

Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,6 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
honnef.co/go/gotraceui v0.2.0 h1:dmNsfQ9Vl3GwbiVD7Z8d/osC6WtGGrasyrC2suc4ZIQ=
honnef.co/go/gotraceui v0.2.0/go.mod h1:qHo4/W75cA3bX0QQoSvDjbJa4R8mAyyFjbWAj63XElc=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
Expand Down
3 changes: 1 addition & 2 deletions go/mysql/collations/colldata/uca_tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"testing"
"unsafe"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gotest.tools/assert"

"vitess.io/vitess/go/mysql/collations/charset"
"vitess.io/vitess/go/mysql/collations/internal/uca"
Expand Down Expand Up @@ -58,7 +58,6 @@ func verifyAllCodepoints(t *testing.T, expected map[rune][]uint16, weights uca.W
for i := range vitessWeights {
a, b := mysqlWeights[i], vitessWeights[i]
assert.Equal(t, b, a, "weight mismatch for U+%04X (collation entity %d): mysql=%v vitess=%v", cp, i+1, a, b)

}
}
}
Expand Down
2 changes: 1 addition & 1 deletion go/test/endtoend/vtgate/vindex_bindvars/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (

"vitess.io/vitess/go/test/endtoend/utils"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gotest.tools/assert"

"vitess.io/vitess/go/mysql"
"vitess.io/vitess/go/test/endtoend/cluster"
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vtctl/vdiff2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"time"

"github.com/google/uuid"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gotest.tools/assert"

"vitess.io/vitess/go/sqltypes"
tabletmanagerdatapb "vitess.io/vitess/go/vt/proto/tabletmanagerdata"
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vtctl/workflow/log_recorder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"testing"
"time"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLogRecorder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vttablet/endtoend/acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"encoding/json"
"testing"

"gotest.tools/assert"
"github.com/stretchr/testify/assert"

"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/vt/vttablet/endtoend/framework"
Expand Down
2 changes: 1 addition & 1 deletion go/vt/wrangler/log_recorder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package wrangler
import (
"testing"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLogRecorder(t *testing.T) {
Expand Down

0 comments on commit b600894

Please sign in to comment.