Skip to content

test: Modernize test-tls-peer-certificate.js - #10014

Closed
ipotuzhnov wants to merge 1 commit into
nodejs:masterfrom
ipotuzhnov:modernize-tls-peer-certificate-test
Closed

test: Modernize test-tls-peer-certificate.js#10014
ipotuzhnov wants to merge 1 commit into
nodejs:masterfrom
ipotuzhnov:modernize-tls-peer-certificate-test

Conversation

@ipotuzhnov

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

test

Description of change

Modernize test/parallel/test-tls-peer-certificate.js according to the
following rules:

  • var --> const/let
  • assert.equal --> assert.strictEqual
  • assert.ok(a === b) --> assert.strictEqual(a, b)

@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
@mscdex

Copy link
Copy Markdown
Contributor

nit: the period at the end of the first line of the commit message is unnecessary

@imyllerimyller added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Dec 1, 2016
Modernize `test/parallel/test-tls-peer-certificate.js` according to the
following rules:
* `var` --> `const`/`let`
* `assert.equal` --> `assert.strictEqual`
* `assert.ok(a === b)` --> `assert.strictEqual(a, b)`
@ipotuzhnov
ipotuzhnovforce-pushed the modernize-tls-peer-certificate-test branch from ea32dfe to 24f16d3CompareDecember 1, 2016 17:54
@ipotuzhnovipotuzhnov changed the title test: Modernize test-tls-peer-certificate.js.test: Modernize test-tls-peer-certificate.jsDec 1, 2016

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@mhdawson

Copy link
Copy Markdown
Member

@mhdawson

Copy link
Copy Markdown
Member

Freebsd failures related to #10130, arm failure machine type issue as opposed to test failure so CI run looks ok in terms of this change. Going to land

@mhdawson

Copy link
Copy Markdown
Member

Landed as 0a265df

@mhdawsonmhdawson closed this Dec 5, 2016
mhdawson pushed a commit that referenced this pull request Dec 5, 2016
Modernize `test/parallel/test-tls-peer-certificate.js` according to the
following rules:
* `var` --> `const`/`let`
* `assert.equal` --> `assert.strictEqual`
* `assert.ok(a === b)` --> `assert.strictEqual(a, b)`
PR-URL: #10014
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
Fishrock123 pushed a commit that referenced this pull request Dec 6, 2016
Modernize `test/parallel/test-tls-peer-certificate.js` according to the
following rules:
* `var` --> `const`/`let`
* `assert.equal` --> `assert.strictEqual`
* `assert.ok(a === b)` --> `assert.strictEqual(a, b)`
PR-URL: #10014
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
Modernize `test/parallel/test-tls-peer-certificate.js` according to the
following rules:
* `var` --> `const`/`let`
* `assert.equal` --> `assert.strictEqual`
* `assert.ok(a === b)` --> `assert.strictEqual(a, b)`
PR-URL: nodejs#10014
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
Modernize `test/parallel/test-tls-peer-certificate.js` according to the
following rules:
* `var` --> `const`/`let`
* `assert.equal` --> `assert.strictEqual`
* `assert.ok(a === b)` --> `assert.strictEqual(a, b)`
PR-URL: nodejs#10014
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
Modernize `test/parallel/test-tls-peer-certificate.js` according to the
following rules:
* `var` --> `const`/`let`
* `assert.equal` --> `assert.strictEqual`
* `assert.ok(a === b)` --> `assert.strictEqual(a, b)`
PR-URL: #10014
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
@MylesBorinsMylesBorins mentioned this pull request 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.

9 participants

@ipotuzhnov@mscdex@mhdawson@jasnell@cjihrig@MylesBorins@addaleax@imyller@nodejs-github-bot