Skip to content

Commit

Permalink
Merge pull request #139 from instana/replace_testify
Browse files Browse the repository at this point in the history
Replace github.com/stretchr/testify with github.com/instana/testify
  • Loading branch information
Andrew Slotin authored Jul 21, 2020
2 parents 874e706 + 7676d74 commit 4f9dd21
Show file tree
Hide file tree
Showing 48 changed files with 95 additions and 81 deletions.
2 changes: 1 addition & 1 deletion acceptor/plugins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/instana/go-sensor/acceptor"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestNewECSTaskPluginPayload(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions adapters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestWithTracingSpan(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions autoprofile/internal/allocation_sampler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

var objs []string
Expand Down
4 changes: 2 additions & 2 deletions autoprofile/internal/block_sampler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestCreateBlockProfile(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions autoprofile/internal/cpu_sampler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestCreateCPUProfile(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion autoprofile/internal/profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestCallSite_Increment(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion autoprofile/internal/recorder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestRecorder_Flush(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion autoprofile/internal/timer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestTimer_Restart(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion autoprofile/internal/uuid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/instana/go-sensor/autoprofile/internal"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestGenerateUUID_Unique(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions aws/ecs_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"time"

"github.com/instana/go-sensor/aws"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestECSMetadataProvider_ContainerMetadata(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"

instana "github.com/instana/go-sensor"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestSpanFromContext_WithActiveSpan(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion eum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

instana "github.com/instana/go-sensor"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

const eumExpectedResult string = `<script>
Expand Down
2 changes: 1 addition & 1 deletion event_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestEventBasic(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions fargate_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"time"

instana "github.com/instana/go-sensor"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

var agent *serverlessAgent
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.8

require (
github.com/gogo/protobuf v1.2.1 // indirect
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65
github.com/looplab/fsm v0.1.0
github.com/opentracing/basictracer-go v1.0.0
github.com/opentracing/opentracing-go v1.1.0
github.com/stretchr/testify v1.4.0
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
)
10 changes: 6 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65 h1:T25FL3WEzgmKB0m6XCJNZ65nw09/QIp3T1yXr487D+A=
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65/go.mod h1:nYhEREG/B7HUY7P+LKOrqy53TpIqmJ9JyUShcaEKtGw=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/looplab/fsm v0.1.0 h1:Qte7Zdn/5hBNbXzP7yxVU4OIFHWXBovyTT2LaBTyC20=
Expand All @@ -14,8 +16,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80 h1:Ao/3l156eZf2AW5wK8a7/smtodRU+gha3+BeqJ69lRk=
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
Expand All @@ -24,5 +26,5 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
4 changes: 2 additions & 2 deletions instrumentation/instagrpc/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instagrpc"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/instagrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.9

require (
github.com/instana/go-sensor v1.9.0
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65
github.com/opentracing/opentracing-go v1.1.0
github.com/stretchr/testify v1.4.0
google.golang.org/grpc v1.15.0
)
9 changes: 7 additions & 2 deletions instrumentation/instagrpc/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/instana/go-sensor v1.9.0 h1:Zg+wPuIuaBxmA1UYqmiKA5sU7A4+H7RnHeOU3ADuLmQ=
github.com/instana/go-sensor v1.9.0/go.mod h1:lDfZvfAyo5DWJ2AvOHINRTUTG5TMdZNnwXXcFRtfZBE=
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65 h1:T25FL3WEzgmKB0m6XCJNZ65nw09/QIp3T1yXr487D+A=
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65/go.mod h1:nYhEREG/B7HUY7P+LKOrqy53TpIqmJ9JyUShcaEKtGw=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/looplab/fsm v0.1.0 h1:Qte7Zdn/5hBNbXzP7yxVU4OIFHWXBovyTT2LaBTyC20=
Expand All @@ -22,9 +24,11 @@ github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsq
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
Expand All @@ -47,6 +51,7 @@ google.golang.org/grpc v1.15.0 h1:Az/KuahOM4NAidTEuJCv/RonAA7rYsTPkqXVjr+8OOw=
google.golang.org/grpc v1.15.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
4 changes: 2 additions & 2 deletions instrumentation/instagrpc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instagrpc"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
Expand Down
4 changes: 2 additions & 2 deletions instrumentation/instasarama/async_producer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/Shopify/sarama"
instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestAsyncProducer_Input(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation/instasarama/consumer_group_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/Shopify/sarama"
instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestConsumerGroupHandler_ConsumeClaim(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation/instasarama/consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/Shopify/sarama"
instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestConsumer_ConsumePartition(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/instasarama/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require (
github.com/frankban/quicktest v1.8.1 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/instana/go-sensor v1.10.0
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65
github.com/opentracing/opentracing-go v1.1.0
github.com/pierrec/lz4 v2.4.1+incompatible // indirect
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
github.com/stretchr/testify v1.4.0
)
7 changes: 7 additions & 0 deletions instrumentation/instasarama/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/instana/go-sensor v1.10.0 h1:w8tnrsO5/M7Tt3hYO/pECA3kkk0Zqmsd4U4MuZboPJ0=
github.com/instana/go-sensor v1.10.0/go.mod h1:lDfZvfAyo5DWJ2AvOHINRTUTG5TMdZNnwXXcFRtfZBE=
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65 h1:T25FL3WEzgmKB0m6XCJNZ65nw09/QIp3T1yXr487D+A=
github.com/instana/testify v1.6.2-0.20200721153833-94b1851f4d65/go.mod h1:nYhEREG/B7HUY7P+LKOrqy53TpIqmJ9JyUShcaEKtGw=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs=
Expand All @@ -39,9 +41,12 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ=
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
Expand All @@ -53,3 +58,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
4 changes: 2 additions & 2 deletions instrumentation/instasarama/partition_consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/Shopify/sarama"
instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestPartitionConsumer_Messages(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation/instasarama/propagation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/Shopify/sarama"
instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestProducerMessageWithSpan(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation/instasarama/record_header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"

"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestPackUnpackTraceContextHeader(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation/instasarama/sync_producer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/Shopify/sarama"
instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/instrumentation/instasarama"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestSyncProducer_SendMessage(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation_http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

instana "github.com/instana/go-sensor"
"github.com/instana/go-sensor/w3ctrace"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestTracingHandlerFunc_Write(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation_sql_go1.10_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestWrapSQLConnector_Exec(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions instrumentation_sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/instana/testify/assert"
"github.com/instana/testify/require"
)

func TestOpenSQLDB(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion json_span_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

instana "github.com/instana/go-sensor"
"github.com/stretchr/testify/assert"
"github.com/instana/testify/assert"
)

func TestRegisteredSpanType_ExtractData(t *testing.T) {
Expand Down
Loading

0 comments on commit 4f9dd21

Please sign in to comment.