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 e1332d4201..4d61cac91f 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: