mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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>
(cherry picked from commit a3e796b74e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
904966909d
commit
f1b72dd33d
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -246,7 +246,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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user