From: Jonathan Wakely Date: Tue, 2 Jun 2020 10:41:28 +0000 (+0100) Subject: gcc-changelog: Update test to match new error text X-Git-Tag: basepoints/gcc-12~7435 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgcc.git;a=commitdiff_plain;h=54a0eb7fa5f504bf26be03060b779f756d998be5 gcc-changelog: Update test to match new error text contrib/ChangeLog: * gcc-changelog/test_email.py (TestGccChangelog.test_long_lines): Update expected error message. --- diff --git a/contrib/gcc-changelog/test_email.py b/contrib/gcc-changelog/test_email.py index 158eb6513679..2465669786e0 100755 --- a/contrib/gcc-changelog/test_email.py +++ b/contrib/gcc-changelog/test_email.py @@ -176,7 +176,7 @@ class TestGccChangelog(unittest.TestCase): def test_long_lines(self): email = self.get_git_email('long-lines.patch') assert len(email.errors) == 1 - assert email.errors[0].message == 'line limit exceeds 100 characters' + assert email.errors[0].message == 'line exceeds 100 character limit' def test_new_files(self): email = self.from_patch_glob('0030')