From a061cf91d1e433559a34dc05d340908e6c9f1bb8 Mon Sep 17 00:00:00 2001 From: Softonik Date: Mon, 21 Jul 2025 14:05:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=98=D1=81=D1=82=D0=B8=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- godog_and_gomega_helpers.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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) }