Update README.md
Этот коммит содержится в:
родитель
c64517055d
коммит
3a53f6f6bf
1 изменённых файлов: 1 добавлений и 2 удалений
|
@ -176,7 +176,6 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/cucumber/godog"
|
||||
messages "github.com/cucumber/messages-go/v9"
|
||||
)
|
||||
|
||||
func thereAreGodogs(available int) error {
|
||||
|
@ -204,7 +203,7 @@ func FeatureContext(s *godog.Suite) {
|
|||
s.Step(`^I eat (\d+)$`, iEat)
|
||||
s.Step(`^there should be (\d+) remaining$`, thereShouldBeRemaining)
|
||||
|
||||
s.BeforeScenario(func(*messages.Pickle) {
|
||||
s.BeforeScenario(func(interface{}) {
|
||||
Godogs = 0 // clean the state before every scenario
|
||||
})
|
||||
}
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче