add `godog.` to the second `TestMain` example to make it runnable.
Этот коммит содержится в:
Mark Ayers 2017-12-18 17:34:03 -08:00 коммит произвёл GitHub
родитель 272624afcc
коммит 060dc38183
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

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

@ -262,9 +262,9 @@ func TestMain(m *testing.M) {
break
}
}
status := RunWithOptions("godog", func(s *Suite) {
SuiteContext(s)
}, Options{
status := godog.RunWithOptions("godog", func(s *godog.Suite) {
godog.SuiteContext(s)
}, godog.Options{
Format: format,
Paths: []string{"features"},
})