-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test, module: current directory gets priority for local module lookup #20545
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nit: Can you separate the //
from Current
by a single space instead of two.
I think the prefix should just be |
@cjihrig yeah ok, will update |
@mscdex ah ok, now i think so too. |
@RakshithNM Looks like your Outlook email ID is linked with the commits, and is not registered with Github. Kindly either register it or update your Github email ID in the config by following the instructions in Step 1 If you choose the latter, you can squash the commits so that your updated Github email ID is associated with the new commit. |
@trivikr ah yep, i have now verified my email |
Can be fixed by whoever lands this, but IMO the commit message makes it sound like this is a functionality change when this is a test refactor. I'd propose something like this: test: display values in AssertionErrors
In test-module-relative-lookup, change assert.strictEqual() calls so
that values are displayed when an AssertionError occurs. |
In test-module-relative-lookup, change assert.strictEqual() calls so that values are displayed when an AssertionError occurs.
@Trott ah ok, i have ammended the commit message |
@RakshithNM The author hasn't been updated in the commits |
In test-module-relative-lookup, change assert.strictEqual() calls so that values are displayed when an AssertionError occurs.
@trivikr thanks for the link, i have now updated the author. |
Landed in 745463a 🎉 🎉 @RakshithNM Just so you know, these merge conflicts are actually a bit of an issue – most of the time they can be ironed out while landing, but for the next PRs, using |
In test-module-relative-lookup, change assert.strictEqual() calls so that values are displayed when an AssertionError occurs. PR-URL: #20545 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@addaleax thank you :) I will keep that in mind moving forward. |
In test-module-relative-lookup, change assert.strictEqual() calls so that values are displayed when an AssertionError occurs. PR-URL: #20545 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes