Przeglądaj źródła

utils/check-package: fix grammar

The past participle for "to fix" is "fix". The "did you forget" got
eluded into "forget", so again a past participle.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Yann E. MORIN 2 lat temu
rodzic
commit
a3e796b74e

+ 2 - 2
support/testing/tests/utils/test_check_package.py

@@ -228,9 +228,9 @@ class TestCheckPackage(unittest.TestCase):
                            self.WITH_UTILS_IN_PATH, subdir_path)
                            self.WITH_UTILS_IN_PATH, subdir_path)
         self.assert_file_was_processed(m)
         self.assert_file_was_processed(m)
         self.assert_warnings_generated_for_file(m)
         self.assert_warnings_generated_for_file(m)
-        self.assertIn("{}:0: Indent was expected to fail, did you fixed the file and forgot to update .checkpackageignore_outdated?"
+        self.assertIn("{}:0: Indent was expected to fail, did you fix the file and forgot to update .checkpackageignore_outdated?"
                       .format(subdir_file), w)
                       .format(subdir_file), w)
-        self.assertIn("{}:0: NewlineAtEof was expected to fail, did you fixed the file and forgot to update "
+        self.assertIn("{}:0: NewlineAtEof was expected to fail, did you fix the file and forgot to update "
                       ".checkpackageignore_outdated?"
                       ".checkpackageignore_outdated?"
                       .format(subdir_file), w)
                       .format(subdir_file), w)
 
 

+ 1 - 1
utils/check-package

@@ -256,7 +256,7 @@ def check_file_using_lib(fname):
 
 
     for should_fail in xfail:
     for should_fail in xfail:
         if should_fail not in failed:
         if should_fail not in failed:
-            print("{}:0: {} was expected to fail, did you fixed the file and forgot to update {}?"
+            print("{}:0: {} was expected to fail, did you fix the file and forget to update {}?"
                   .format(fname, should_fail, flags.ignore_filename))
                   .format(fname, should_fail, flags.ignore_filename))
             nwarnings += 1
             nwarnings += 1