Skip to content

Commit

Permalink
[v058] fix signature name for StepCtx and T interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinyaev Anton Yuryevich committed Apr 21, 2022
1 parent 85751d3 commit 0e9720a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/framework/provider/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ type T interface {
Require() Asserts
Run(testName string, testBody func(T), tags ...string) bool

WithNewStep(stepName string, step func(ctx StepCtx), params ...allure.Parameter)
WithNewAsyncStep(stepName string, step func(ctx StepCtx), params ...allure.Parameter)
WithNewStep(stepName string, step func(sCtx StepCtx), params ...allure.Parameter)
WithNewAsyncStep(stepName string, step func(sCtx StepCtx), params ...allure.Parameter)
}

type StepCtx interface {
Step(step *allure.Step)
NewStep(stepName string, parameters ...allure.Parameter)
WithNewStep(stepName string, step func(ctx StepCtx), params ...allure.Parameter)
WithNewAsyncStep(stepName string, step func(ctx StepCtx), params ...allure.Parameter)
WithNewStep(stepName string, step func(sCtx StepCtx), params ...allure.Parameter)
WithNewAsyncStep(stepName string, step func(sCtx StepCtx), params ...allure.Parameter)

WithParameters(parameters ...allure.Parameter)
WithNewParameters(kv ...interface{})
Expand Down

0 comments on commit 0e9720a

Please sign in to comment.