From 5c2a942eb06ffed94f56c5cd6f11dd92c67bdcc7 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 23 Apr 2023 21:53:02 +0200 Subject: [PATCH] support/testing: complete the grammar fix Commit a3e796b74e98 (utils/check-package: fix grammar) only partially fixed the test-case (git commit --amend missed the test-case...) Signed-off-by: Yann E. MORIN (cherry picked from commit 4f38b5dcbd09ae8eb73ff64741c1df0be3b1c0f7) Signed-off-by: Peter Korsgaard --- support/testing/tests/utils/test_check_package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/testing/tests/utils/test_check_package.py b/support/testing/tests/utils/test_check_package.py index 77f8208043..146c452151 100644 --- a/support/testing/tests/utils/test_check_package.py +++ b/support/testing/tests/utils/test_check_package.py @@ -228,9 +228,9 @@ class TestCheckPackage(unittest.TestCase): self.WITH_UTILS_IN_PATH, subdir_path) self.assert_file_was_processed(m) self.assert_warnings_generated_for_file(m) - self.assertIn("{}:0: Indent was expected to fail, did you fix the file and forgot to update .checkpackageignore_outdated?" + self.assertIn("{}:0: Indent was expected to fail, did you fix the file and forget to update .checkpackageignore_outdated?" .format(subdir_file), w) - self.assertIn("{}:0: NewlineAtEof was expected to fail, did you fix the file and forgot to update " + self.assertIn("{}:0: NewlineAtEof was expected to fail, did you fix the file and forget to update " ".checkpackageignore_outdated?" .format(subdir_file), w)