diff --git a/tests/test_format.py b/tests/test_format.py index 823139d3..b24d172f 100644 --- a/tests/test_format.py +++ b/tests/test_format.py @@ -56,6 +56,10 @@ def test_safe_description(self): "Depends on\n\nQuestion { #2 }!", safe_description("Depends on\n\nQuestion { #2 }!"), ) + self.assertEqual( + "(start_date) - cast((rolling_days))", + safe_description("{{start_date}} - cast({{rolling_days}})"), + ) def test_dump_yaml(self): path = Path("tests") / "tmp" / "test_dump_yaml.yml"