Skip to content

Commit

Permalink
Fix errcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed Jan 16, 2024
1 parent c35ec67 commit 2bfd4bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/internal_task_pollers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,9 @@ func TestWFTCorruption(t *testing.T) {
wfType := commonpb.WorkflowType{Name: t.Name() + "-workflow-type"}
reg := newRegistry()
reg.RegisterWorkflowWithOptions(func(ctx Context) error {
Await(ctx, func() bool {
return Await(ctx, func() bool {
return false
})
return nil
}, RegisterWorkflowOptions{
Name: wfType.Name,
})
Expand Down

0 comments on commit 2bfd4bf

Please sign in to comment.