Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

test: replace deprecated util.debug() calls #3082

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Sep 26, 2015

common.debug() is just util.debug() and emits a deprecation notice. Per docs, use console.error() instead.

@Trott Trott added smoketest test Issues and PRs related to the tests. and removed smoketest labels Sep 26, 2015
@@ -326,7 +326,7 @@ function test_deep_symlink_mix(callback) {
[fixturesAbsDir + '/nested-index/two/realpath-c',
'../../../' + common.tmpDirName + '/cycles/root.js']
].forEach(function(t) {
//common.debug('setting up '+t[0]+' -> '+t[1]);
//console.error('setting up '+t[0]+' -> '+t[1]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line can simply be removed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@targos I think you're right. Done!

@Trott
Copy link
Member Author

Trott commented Sep 27, 2015

@targos
Copy link
Member

targos commented Sep 28, 2015

LGTM

common.debug() is just util.debug() and emits a deprecation notice. Per
docs, use console.error() instead.

PR-URL: nodejs#3083
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Trott added a commit that referenced this pull request Sep 28, 2015
common.debug() is just util.debug() and emits a deprecation notice. Per
docs, use console.error() instead.

PR-URL: #3082
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
@Trott
Copy link
Member Author

Trott commented Sep 28, 2015

Landed in 44efd66

@Trott Trott closed this Sep 28, 2015
Trott added a commit that referenced this pull request Sep 30, 2015
common.debug() is just util.debug() and emits a deprecation notice. Per
docs, use console.error() instead.

PR-URL: #3082
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
This was referenced Sep 30, 2015
Trott added a commit that referenced this pull request Sep 30, 2015
common.debug() is just util.debug() and emits a deprecation notice. Per
docs, use console.error() instead.

PR-URL: #3082
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
@Trott Trott deleted the rm-common-debug branch January 13, 2022 22:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants