Преглед на файлове

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 години
родител
ревизия
a3e796b74e
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      support/testing/tests/utils/test_check_package.py
  2. 1 1
      utils/check-package

+ 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.assert_file_was_processed(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)
-        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?"
                       .format(subdir_file), w)
 

+ 1 - 1
utils/check-package

@@ -256,7 +256,7 @@ def check_file_using_lib(fname):
 
     for should_fail in xfail:
         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))
             nwarnings += 1