Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kopaygorodsky committed Jul 9, 2024
1 parent 7a5bcd6 commit 091bec6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pubsub/message/execution/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@ func TestMessageExecutionCtx_Send(t *testing.T) {

receivedMessage := message.NewReceivedMessage("123", &someTestType{}, message.Headers{}, time.Now(), "bus")
outcomingMsg := message.NewOutcomingMessage(&someTestType{})
ctx := context.Background()

testRouter.
EXPECT().
Route(outcomingMsg.Payload()).
Return(nil).
Times(1)
Times(1

Check failure on line 54 in pubsub/message/execution/context_test.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected newline in argument list; possibly missing comma or ) (typecheck)

Check failure on line 54 in pubsub/message/execution/context_test.go

View workflow job for this annotation

GitHub Actions / build

missing ',' before newline in argument list (typecheck)

execCtx := factory.CreateCtx(context.Background(), receivedMessage)
execCtx := factory.CreateCtx(ctx, receivedMessage)

Check failure on line 56 in pubsub/message/execution/context_test.go

View workflow job for this annotation

GitHub Actions / build

missing ',' in argument list (typecheck)
err := execCtx.Send(outcomingMsg)

Check failure on line 57 in pubsub/message/execution/context_test.go

View workflow job for this annotation

GitHub Actions / build

missing ',' in argument list (typecheck)
assert.NoError(t, err)

Check failure on line 58 in pubsub/message/execution/context_test.go

View workflow job for this annotation

GitHub Actions / build

missing ',' before newline in argument list (typecheck)

Expand Down

0 comments on commit 091bec6

Please sign in to comment.