Skip to content

Commit d192d7b

Browse files
authored
Merge pull request #170 from zaataylor/patch-2
Make error message clearer
2 parents e6e027c + ff90e9c commit d192d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tester/tester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func NewWorkflowTester[TResult any](wf interface{}, opts ...WorkflowTesterOption
219219

220220
// Always register the workflow under test
221221
if err := wt.registry.RegisterWorkflow(wf); err != nil {
222-
panic(fmt.Sprintf("could not workflow under test: %v", err))
222+
panic(fmt.Sprintf("could not register workflow under test: %v", err))
223223
}
224224

225225
return wt

0 commit comments

Comments
 (0)