Skip to content

test: improve the code in test-tls-friendly-message.js - #9967

Closed
edsadr wants to merge 1 commit into
nodejs:masterfrom
edsadr:tls-friendly-error-message
Closed

test: improve the code in test-tls-friendly-message.js#9967
edsadr wants to merge 1 commit into
nodejs:masterfrom
edsadr:tls-friendly-error-message

Conversation

@edsadr

Copy link
Copy Markdown
Contributor
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

code improvements in /test/parallel/test-tls-friendly-error-message.js
Replaces var for const and implement some missings common.mustCall

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 1, 2016
@mscdexmscdex added the tls Issues and PRs related to the tls subsystem. label Dec 1, 2016
@imyllerimyller added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Dec 1, 2016
@mscdex

Copy link
Copy Markdown
Contributor

The commit message could be a bit more descriptive. The first line of the commit message should also be <= 50 characters. See the commit message guidelines here.

Replaces var for const for include modules and implement
missing common.mustCall for some anonymous functions
@edsadr
edsadrforce-pushed the tls-friendly-error-message branch from 34b31e0 to ab7c2a0CompareDecember 1, 2016 17:07
@edsadr

Copy link
Copy Markdown
ContributorAuthor

@mscdex just improved the commit message

@addaleax

Copy link
Copy Markdown
Member

@cjihrig

Copy link
Copy Markdown
Contributor

Landed in dc08ced. Thanks!

@cjihrigcjihrig closed this Dec 5, 2016
cjihrig pushed a commit that referenced this pull request Dec 5, 2016
Replaces var with const and adds common.mustCall().
PR-URL: #9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
addaleax pushed a commit that referenced this pull request Dec 5, 2016
Replaces var with const and adds common.mustCall().
PR-URL: #9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@Fishrock123Fishrock123 mentioned this pull request Dec 5, 2016
2 tasks
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
Replaces var with const and adds common.mustCall().
PR-URL: nodejs#9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
Replaces var with const and adds common.mustCall().
PR-URL: nodejs#9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
Replaces var with const and adds common.mustCall().
PR-URL: #9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
Replaces var with const and adds common.mustCall().
PR-URL: #9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
Replaces var with const and adds common.mustCall().
PR-URL: #9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This was referenced Dec 21, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.testIssues and PRs related to the tests.tlsIssues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@edsadr@mscdex@addaleax@cjihrig@MylesBorins@imyller@nodejs-github-bot