diff options
Diffstat (limited to 'contrib/gcc-changelog/test_email.py')
-rwxr-xr-x | contrib/gcc-changelog/test_email.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc-changelog/test_email.py b/contrib/gcc-changelog/test_email.py index 7ba2fcf..2053531 100755 --- a/contrib/gcc-changelog/test_email.py +++ b/contrib/gcc-changelog/test_email.py @@ -399,3 +399,7 @@ class TestGccChangelog(unittest.TestCase): def test_unicode_chars_in_filename(self): email = self.from_patch_glob('0001-Add-horse.patch') assert not email.errors + + def test_bad_unicode_chars_in_filename(self): + email = self.from_patch_glob('0001-Add-horse2.patch') + assert email.errors[0].message.startswith('Quoted UTF8 filename') |