Сравнить коммиты
Нет общих коммитов. «v1.3.0» и «main» имеют совершенно разные истории.
2 изменённых файлов: 0 добавлений и 12 удалений
|
@ -44,9 +44,6 @@ func getTestAssertPlace() string {
|
|||
}
|
||||
func getTestAssertFullPathPlace() string {
|
||||
_, 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)
|
||||
}
|
||||
func getProjectRootRelativeTestAssertPlace(place string) string {
|
||||
|
|
|
@ -4,7 +4,6 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
@ -44,11 +43,3 @@ func Atof(in string) float64 {
|
|||
Ok(err)
|
||||
return res
|
||||
}
|
||||
|
||||
func SetTestDeadlockProtection() {
|
||||
go checkTestTimeout(1 * time.Second)
|
||||
}
|
||||
func checkTestTimeout(t time.Duration) {
|
||||
<-time.After(t)
|
||||
panic("Test Suite Timeout")
|
||||
}
|
Загрузка…
Создание таблицы
Сослаться в новой задаче