Skip to content

Commit

Permalink
Update comment for GetWorkflowResult (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
vytautas-karpavicius committed Jul 20, 2020
1 parent 84482ec commit 8b4cd48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/workflow_testsuite.go
Expand Up @@ -551,7 +551,7 @@ func (t *TestWorkflowEnvironment) IsWorkflowCompleted() bool {
return t.impl.isTestCompleted
}

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

0 comments on commit 8b4cd48

Please sign in to comment.