Skip to content

Commit 8b4cd48

Browse files
Update comment for GetWorkflowResult (#1009)
1 parent 84482ec commit 8b4cd48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/workflow_testsuite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ func (t *TestWorkflowEnvironment) IsWorkflowCompleted() bool {
551551
return t.impl.isTestCompleted
552552
}
553553

554-
// GetWorkflowResult extracts the encoded result from test workflow, it returns error if the extraction failed.
554+
// GetWorkflowResult extracts the encoded result from test workflow, it also returns error from test workflow.
555555
func (t *TestWorkflowEnvironment) GetWorkflowResult(valuePtr interface{}) error {
556556
if !t.impl.isTestCompleted {
557557
panic("workflow is not completed")

0 commit comments

Comments
 (0)