Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop committed Jan 12, 2022
1 parent 7d50ea4 commit ee85501
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ func (ctx *TestSuiteContext) AfterSuite(fn func()) {

// ScenarioContext allows registering scenario hooks.
func (ctx *TestSuiteContext) ScenarioContext() *ScenarioContext {
if ctx.suite == nil {
ctx.suite = &suite{}
}

return &ScenarioContext{
suite: ctx.suite,
}
Expand Down

0 comments on commit ee85501

Please sign in to comment.