aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/test_email.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc-changelog/test_email.py')
-rwxr-xr-xcontrib/gcc-changelog/test_email.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc-changelog/test_email.py b/contrib/gcc-changelog/test_email.py
index b81548f..9d052e0 100755
--- a/contrib/gcc-changelog/test_email.py
+++ b/contrib/gcc-changelog/test_email.py
@@ -416,3 +416,7 @@ class TestGccChangelog(unittest.TestCase):
def test_multiline_bad_parentheses(self):
email = self.from_patch_glob('0002-Wrong-macro-changelog.patch')
assert email.errors[0].message == 'bad parentheses wrapping'
+
+ def test_changelog_removal(self):
+ email = self.from_patch_glob('0001-ChangeLog-removal.patch', strict=True)
+ assert not email.errors