minor patch for godog command in go1.11, may need to be adjusted #136
Этот коммит содержится в:
родитель
c65ea2b545
коммит
7a131048a6
1 изменённых файлов: 6 добавлений и 1 удалений
|
@ -326,7 +326,12 @@ func buildTestMain(pkg *build.Package) ([]byte, bool, error) {
|
||||||
return nil, false, err
|
return nil, false, err
|
||||||
}
|
}
|
||||||
contexts = ctxs
|
contexts = ctxs
|
||||||
|
// @TODO: is it a good indicator for packages outside GOPATH
|
||||||
|
if strings.Index(pkg.ImportPath, "_/") == 0 {
|
||||||
|
importPath = pkg.Name
|
||||||
|
} else {
|
||||||
importPath = pkg.ImportPath
|
importPath = pkg.ImportPath
|
||||||
|
}
|
||||||
name = pkg.Name
|
name = pkg.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче