-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: test sys
rather than common
#3256
Conversation
Since |
I'm with @targos on this. A lot of the tests are duplicated anyways |
OK, done, all |
LGTM |
CI: https://ci.nodejs.org/job/node-test-pull-request/466/ Assuming CI is green, I'll land this in the next few hours unless someone objects. |
Well, that was embarrassing. Let's try this again. CI: https://ci.nodejs.org/job/node-test-pull-request/467/ |
@evanlucas Very minor change to correct a test I botched. Still LGTY? /cc @targos |
yep, LGTM |
test-sys.js tests common.inspect() (which is test-specific code) and not sys (which, although deprecated, should still be tested). This commit moves the tests to the not-deprecated util and adds a test to check that deprecated sys and util are the same. PR-URL: #3256 Reviewed-By: Evan Lucas <[email protected]>
Landed in ead5cd9 |
test-sys.js tests common.inspect() (which is test-specific code) and not sys (which, although deprecated, should still be tested). This commit moves the tests to the not-deprecated util and adds a test to check that deprecated sys and util are the same. PR-URL: #3256 Reviewed-By: Evan Lucas <[email protected]>
Landed in v4.x in 5ca4f6f |
test-sys.js
seems to testcommon.inspect()
(which is test-specific code) and notsys
(which, although deprecated, should still be tested).This seems like it was introduced in 9fd5e3c which is a pretty big commit with lots of probable find/replace.
This commit changes it to test
sys
which is what the file name implies it should be doing.