Skip to content

Commit a3e796b

Browse files
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 <[email protected]>
1 parent 3d8212c commit a3e796b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

support/testing/tests/utils/test_check_package.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ def test_run(self):
228228
self.WITH_UTILS_IN_PATH, subdir_path)
229229
self.assert_file_was_processed(m)
230230
self.assert_warnings_generated_for_file(m)
231-
self.assertIn("{}:0: Indent was expected to fail, did you fixed the file and forgot to update .checkpackageignore_outdated?"
231+
self.assertIn("{}:0: Indent was expected to fail, did you fix the file and forgot to update .checkpackageignore_outdated?"
232232
.format(subdir_file), w)
233-
self.assertIn("{}:0: NewlineAtEof was expected to fail, did you fixed the file and forgot to update "
233+
self.assertIn("{}:0: NewlineAtEof was expected to fail, did you fix the file and forgot to update "
234234
".checkpackageignore_outdated?"
235235
.format(subdir_file), w)
236236

utils/check-package

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def check_file_using_lib(fname):
256256

257257
for should_fail in xfail:
258258
if should_fail not in failed:
259-
print("{}:0: {} was expected to fail, did you fixed the file and forgot to update {}?"
259+
print("{}:0: {} was expected to fail, did you fix the file and forget to update {}?"
260260
.format(fname, should_fail, flags.ignore_filename))
261261
nwarnings += 1
262262

0 commit comments

Comments
 (0)