Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Oct 23, 2024
1 parent 43dd2f4 commit 3b95db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/streamx/streamx_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import (
"testing"
"time"

"github.com/cloudwego/kitex/pkg/rpcinfo"
"github.com/cloudwego/netpoll"

"github.com/cloudwego/kitex/client"
"github.com/cloudwego/kitex/client/streamxclient"
"github.com/cloudwego/kitex/internal/test"
"github.com/cloudwego/kitex/pkg/remote/codec/thrift"
"github.com/cloudwego/kitex/pkg/rpcinfo"
"github.com/cloudwego/kitex/pkg/streamx"
"github.com/cloudwego/kitex/pkg/streamx/provider/ttstream"
"github.com/cloudwego/kitex/server"
Expand Down Expand Up @@ -631,7 +631,7 @@ func TestStreamingException(t *testing.T) {
)
octx := context.Background()

//assert circuitBreaker error
// assert circuitBreaker error
atomic.StoreInt32(&circuitBreaker, 1)
ctx, bs, err := streamClient.BidiStream(octx)

Check failure on line 636 in pkg/streamx/streamx_user_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

ineffectual assignment to ctx (ineffassign)
test.Assert(t, errors.Is(err, circuitBreakerErr), err)
Expand Down

0 comments on commit 3b95db4

Please sign in to comment.