From 3638543bbdd3d86d2511800b0b55391883d6878f Mon Sep 17 00:00:00 2001 From: khamitovdr Date: Mon, 7 Apr 2025 21:28:53 +0300 Subject: [PATCH] fix space test --- .../dl_formula_testing/testcases/functions_string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dl_formula_testing/dl_formula_testing/testcases/functions_string.py b/lib/dl_formula_testing/dl_formula_testing/testcases/functions_string.py index e1332d420..4d61cac91 100644 --- a/lib/dl_formula_testing/dl_formula_testing/testcases/functions_string.py +++ b/lib/dl_formula_testing/dl_formula_testing/testcases/functions_string.py @@ -171,7 +171,7 @@ def test_space(self, dbe: DbEvaluator) -> None: assert ( to_str(dbe.eval("SPACE(4)")) == " " ) # SPACE() is evaluated in Python rather than in the DB, - assert to_str(dbe.eval("SPACE(2 + 2)")) == " " # while this version actually uses the DB function(s) + assert to_str(dbe.eval("SPACE(LEN('aaaa'))")) == " " # while this version actually uses the DB function(s) def test_split_3(self, dbe: DbEvaluator, data_table: sa.Table) -> None: if not self.supports_split_3: