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 d2777281..896dbf47 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -145,6 +145,7 @@ VARS = { ("Ill-formed: ${%5} ${{HI}} ${", "Ill-formed: ${%5} ${{HI}} ${"), ("Strict: ${FOO?} is there", "Strict: fooey is there"), ("Defaulted: ${WUT-missing}!", "Defaulted: missing!"), + ("Defaulted empty: ${WUT-}!", "Defaulted empty: !"), ]) def test_substitute_variables(before, after): assert substitute_variables(before, VARS) == after |