From 2bfd4bfe144d594318fa82eb22b76a57602d4283 Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Tue, 16 Jan 2024 08:40:45 -0800 Subject: [PATCH] Fix errcheck --- internal/internal_task_pollers_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/internal_task_pollers_test.go b/internal/internal_task_pollers_test.go index ad4879657..26692a133 100644 --- a/internal/internal_task_pollers_test.go +++ b/internal/internal_task_pollers_test.go @@ -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, })