test_runner: correct "already mocked" error punctuation placement#58840
Conversation
|
Review requested:
|
|
Fast-track has been requested by @JakobJingleheimer. Please 👍 to approve. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58840 +/- ##
==========================================
+ Coverage 90.08% 90.10% +0.02%
==========================================
Files 640 640
Lines 188446 188446
Branches 36960 36966 +6
==========================================
+ Hits 169757 169798 +41
+ Misses 11412 11359 -53
- Partials 7277 7289 +12
🚀 New features to boost your workflow:
|
tniessen
left a comment
There was a problem hiding this comment.
FWIW, having punctuation inside quotes is the writing style I have been taught, but I think marking an identifier using '...' does not qualify as a quote, so LGTM.
|
Sooo the rule for this is when the quoted text is a complete sentence that has its own terminal punctuation:
When it's not, it doesn't:
In both cases, there is always terminal punctuation after the quotes 🙂 EDIT: But yes, I think the more important issue is not reporting the specifier in a misleading way. |
Commit Queue failed- Loading data for nodejs/node/pull/58840 ✔ Done loading data for nodejs/node/pull/58840 ----------------------------------- PR info ------------------------------------ Title test_runner: correct "already mocked" error punctuation placement (#58840) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch JakobJingleheimer:testrunner/fix/already-mocked-error-message -> nodejs:main Labels fast-track, needs-ci, test_runner Commits 1 - test_runner: correct "already mocked" error punctuation placement Committers 1 - Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> -------------------------------------------------------------------------------- ℹ This PR was created on Thu, 26 Jun 2025 10:01:34 GMT ✔ Approvals: 3 ✔ - Pietro Marchini (@pmarchini): https://github.com/nodejs/node/pull/58840#pullrequestreview-2961537077 ✔ - Ethan Arrowood (@Ethan-Arrowood): https://github.com/nodejs/node/pull/58840#pullrequestreview-2962262634 ✔ - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/58840#pullrequestreview-2962468027 ℹ This PR is being fast-tracked ✘ This PR needs to wait 38 more hours to land (or 0 hours if there is 1 more approval (👍) of the fast-track request from collaborators). ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-06-26T14:13:20Z: https://ci.nodejs.org/job/node-test-pull-request/67666/ - Querying data for job/node-test-pull-request/67666/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/15910286689 |
|
Ugh. Could I get 1 more 👍 on the fast-track please |
|
Landed in 5b0c7db |
PR-URL: #58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
The current message contains a period within the quotes around the specifier, making it look malformed.