Сравнить коммиты
2 коммитов
Автор | SHA1 | Дата | |
---|---|---|---|
![]() |
61d22264e4 | ||
![]() |
f199c7ace8 |
2 изменённых файлов: 3 добавлений и 0 удалений
|
@ -44,6 +44,9 @@ func getTestAssertPlace() string {
|
||||||
}
|
}
|
||||||
func getTestAssertFullPathPlace() string {
|
func getTestAssertFullPathPlace() string {
|
||||||
_, file, line, _ := runtime.Caller(CALL_STACK_DEPTH_TO_TEST_FILE)
|
_, file, line, _ := runtime.Caller(CALL_STACK_DEPTH_TO_TEST_FILE)
|
||||||
|
if strings.HasSuffix(file, "/godog_and_gomega_helpers.go") {
|
||||||
|
_, file, line, _ = runtime.Caller(CALL_STACK_DEPTH_TO_TEST_FILE + 1)
|
||||||
|
}
|
||||||
return fmt.Sprintf("%v:%v", file, line)
|
return fmt.Sprintf("%v:%v", file, line)
|
||||||
}
|
}
|
||||||
func getProjectRootRelativeTestAssertPlace(place string) string {
|
func getProjectRootRelativeTestAssertPlace(place string) string {
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче