Skip to content

Commit 65e48c8

Browse files
committed
Remove resolved TODO comment in type_test.go
1 parent e2b9c6f commit 65e48c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/workflowerrors/type_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func Test_getErrorType_error(t *testing.T) {
1515
err := FromError(errors.New("test"))
1616

1717
etype := getErrorType(err)
18-
require.Equal(t, "Error", etype) // TODO: Do we want a different type here?
18+
require.Equal(t, "Error", etype)
1919
}
2020

2121
type CustomError struct {

samples/web/workflow.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package main
22

33
import (
44
"context"
5+
"time"
56

67
"github.com/cschleiden/go-workflows/activity"
78
"github.com/cschleiden/go-workflows/workflow"
@@ -82,7 +83,7 @@ func Activity1(ctx context.Context, a, b int) (int, error) {
8283
logger.Debug("Entering Activity1")
8384
defer logger.Debug("Leaving Activity1")
8485

85-
// time.Sleep(5 * time.Second)
86+
time.Sleep(50 * time.Second)
8687

8788
return a + b, nil
8889
}

0 commit comments

Comments
 (0)