Update README.md
add `godog.` to the second `TestMain` example to make it runnable.
Этот коммит содержится в:
родитель
272624afcc
коммит
060dc38183
1 изменённых файлов: 3 добавлений и 3 удалений
|
@ -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"},
|
||||
})
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче