We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2049f commit 0b303dfCopy full SHA for 0b303df
internal/tester/tester_test.go
@@ -7,6 +7,7 @@ import (
7
"testing"
8
"time"
9
10
+ "github.com/cschleiden/go-workflows/internal/sync"
11
"github.com/cschleiden/go-workflows/workflow"
12
"github.com/stretchr/testify/mock"
13
"github.com/stretchr/testify/require"
@@ -37,7 +38,7 @@ func Test_WorkflowBlocked(t *testing.T) {
37
38
}
39
40
func workflowBlocked(ctx workflow.Context) error {
- var f workflow.Future[int]
41
+ f := sync.NewFuture[int]()
42
f.Get(ctx)
43
44
return nil
0 commit comments