Skip to content

Commit

Permalink
add type to the failing log
Browse files Browse the repository at this point in the history
  • Loading branch information
3vilhamster committed Nov 1, 2024
1 parent 5c0e594 commit ec10286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/activity_task_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func TestActivityTaskHandler_Execute_with_auto_heartbeat(t *testing.T) {
res, err := activityHandler.Execute(tasklist, pats)
require.NoError(t, err)
_, ok := res.(*s.RespondActivityTaskCompletedRequest)
require.True(t, ok, "response is not of type *s.RespondActivityTaskCompletedRequest")
require.True(t, ok, "response is not of type *s.RespondActivityTaskCompletedRequest but of type %T", res)
}

func activityWithWorkerStop(ctx context.Context) error {
Expand Down

0 comments on commit ec10286

Please sign in to comment.