Skip to content

Commit f502701

Browse files
awln-temporalclaude
andcommitted
chore: fix formatting in tasks_test.go
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ab0e979 commit f502701

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

chasm/chasmtest/test_engine.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func (e *Engine) UpdateComponent(
190190
updateFn func(chasm.MutableContext, chasm.Component) error,
191191
_ ...chasm.TransitionOption,
192192
) ([]byte, error) {
193-
execution, err := e.mustExecutionForRef(ref)
193+
execution, err := e.executionForRef(ref)
194194
if err != nil {
195195
return nil, err
196196
}
@@ -203,7 +203,7 @@ func (e *Engine) ReadComponent(
203203
readFn func(chasm.Context, chasm.Component) error,
204204
_ ...chasm.TransitionOption,
205205
) error {
206-
execution, err := e.mustExecutionForRef(ref)
206+
execution, err := e.executionForRef(ref)
207207
if err != nil {
208208
return err
209209
}
@@ -272,7 +272,7 @@ func (e *Engine) newExecution(key chasm.ExecutionKey) *execution {
272272
}
273273
}
274274

275-
func (e *Engine) mustExecutionForRef(ref chasm.ComponentRef) (*execution, error) {
275+
func (e *Engine) executionForRef(ref chasm.ComponentRef) (*execution, error) {
276276
execution, ok := e.executions[newExecutionKey(ref.ExecutionKey)]
277277
if !ok {
278278
return nil, serviceerror.NewNotFound(

chasm/lib/callback/tasks_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ func (l *mockNexusCompletionGetterLibrary) Components() []*chasm.RegistrableComp
8080
}
8181
}
8282

83-
8483
// Test the full executeInvocationTask flow with direct handler calls
8584
func TestExecuteInvocationTaskNexus_Outcomes(t *testing.T) {
8685
cases := []struct {

0 commit comments

Comments
 (0)