Skip to content
Snippets Groups Projects
Verified Commit 6c735afa authored by Daniel Hornung's avatar Daniel Hornung
Browse files

TEST: Extended test for #93

parent 1c556931
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!169Umlaut in cfood
Pipeline #51345 passed with warnings
...@@ -122,5 +122,9 @@ def test_issue_93(): ...@@ -122,5 +122,9 @@ def test_issue_93():
] ]
for exp in expressions: for exp in expressions:
values[exp] = f"This is {exp}" values[exp] = f"This is {exp}"
# With braces
for exp in expressions:
assert replace_variables(f"${{{exp}}}", values) == f"This is {exp}"
# Without braces
for exp in expressions: for exp in expressions:
assert replace_variables(f"${exp}", values) == f"This is {exp}" assert replace_variables(f"${exp}", values) == f"This is {exp}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment