diff options
Diffstat (limited to 'tests/test_misc.py')
-rw-r--r-- | tests/test_misc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_misc.py b/tests/test_misc.py index 65476928..c8c2c9e4 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -152,6 +152,7 @@ VARS = { ("Multiple: $$ $FOO $BAR ${FOO}", "Multiple: $ fooey xyzzy fooey"), ("Ill-formed: ${%5} ${{HI}} ${", "Ill-formed: ${%5} ${{HI}} ${"), ("Strict: ${FOO?} is there", "Strict: fooey is there"), + ("Defaulted: ${WUT-missing}!", "Defaulted: missing!"), ]) def test_substitute_variables(before, after): assert substitute_variables(before, VARS) == after |