Skip to content

Commit 0a4d834

Browse files
committed
cleanup whitespace and comments
1 parent f22d8a5 commit 0a4d834

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

internal/interceptor_header.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ func contextWithNewHeader(ctx context.Context) context.Context {
2323
return context.WithValue(ctx, headerKey{}, map[string]*commonpb.Payload{})
2424
}
2525

26-
// NewHeaderContext returns a copy of ctx with an empty Temporal header attached.
27-
// This matches the context setup the real client performs before invoking
28-
// ClientOutboundInterceptor methods, and is intended for use in tests that call
29-
// client interceptors directly.
3026
func NewHeaderContext(ctx context.Context) context.Context {
3127
return contextWithNewHeader(ctx)
3228
}

testsuite/testsuite.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ type (
2121

2222
// TestUpdateCallback is a basic implementation of the UpdateCallbacks interface for testing purposes.
2323
TestUpdateCallback = internal.TestUpdateCallback
24-
2524
)
2625

2726
// ErrMockStartChildWorkflowFailed is special error used to indicate the mocked child workflow should fail to start.

0 commit comments

Comments
 (0)