Этот коммит содержится в:
Fredrik Lönnblad 2020-03-15 10:03:09 -03:00 коммит произвёл GitHub
родитель c64517055d
коммит 3a53f6f6bf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -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
})
}