From 3a53f6f6bffaf6ed8c3f274f96e3066b789720fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20L=C3=B6nnblad?= Date: Sun, 15 Mar 2020 10:03:09 -0300 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 5226fd6..2be6b49 100644 --- a/README.md +++ b/README.md @@ -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 }) }