Skip to content

Commit

Permalink
Remove redundant return
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop committed May 26, 2023
1 parent 35820ff commit 7f75c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ func TestScenarioContext_After_cancelled(t *testing.T) {
ctxDone := make(chan struct{})
suite := TestSuite{
ScenarioInitializer: func(scenarioContext *ScenarioContext) {
scenarioContext.When(`^foo$`, func() { return })
scenarioContext.When(`^foo$`, func() {})
scenarioContext.After(func(ctx context.Context, sc *Scenario, err error) (context.Context, error) {
go func() {
<-ctx.Done()
Expand Down

0 comments on commit 7f75c5d

Please sign in to comment.