Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed Jul 23, 2023
1 parent 592e80f commit c186346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/activity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (a *Activities) failNTimes(_ context.Context, times int, id int) error {
func (a *Activities) InspectActivityInfo(ctx context.Context, namespace, taskQueue, wfType string, isLocalActivity bool) error {
a.append("inspectActivityInfo")
if !activity.IsActivity(ctx) {
return fmt.Errorf("expected InActivity to return %v but got %v", true, activity.InActivity(ctx))
return fmt.Errorf("expected InActivity to return %v but got %v", true, activity.IsActivity(ctx))
}

info := activity.GetInfo(ctx)
Expand Down

0 comments on commit c186346

Please sign in to comment.