diff --git a/godog_and_gomega_helpers.go b/godog_and_gomega_helpers.go index 2bc85c6..8ba2019 100644 --- a/godog_and_gomega_helpers.go +++ b/godog_and_gomega_helpers.go @@ -45,6 +45,14 @@ func Atof(in string) float64 { return res } +func Истина(in string) bool { + switch in { + case "+", "да", "Да", "ДА", "t", "true", "True", "TRUE": + return true + } + return false +} + func SetTestDeadlockProtection(seconds int) { go checkTestTimeout(time.Duration(seconds) * time.Second) }