Skip to content

test: replace assert.equal to assert.strictEqual, var to const/let - #9947

Closed
mbchoa wants to merge 1 commit into
nodejs:masterfrom
mbchoa:master
Closed

test: replace assert.equal to assert.strictEqual, var to const/let#9947
mbchoa wants to merge 1 commit into
nodejs:masterfrom
mbchoa:master

Conversation

@mbchoa

@mbchoa mbchoa commented Dec 1, 2016

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

test

Description of change
  • Replaced var keywords to const / let
  • Replaced assert.equal assertions to use assert.strictEqual

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Dec 1, 2016
@imyller imyller added code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. dgram Issues and PRs related to UDP and the dgram module. labels Dec 1, 2016

@cjihrig cjihrig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code changes LGTM.

@jasnell jasnell 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 with green CI

@Trott

Trott commented Dec 7, 2016

Copy link
Copy Markdown
Member

@italoacasas

Copy link
Copy Markdown

Landed in: da077ee

Thanks for the contribution.

@italoacasas italoacasas closed this Dec 7, 2016
addaleax pushed a commit that referenced this pull request Dec 8, 2016
- changes var to const/let
- changes assert.equal to assert.strictEqual

PR-URL: #9947
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
- changes var to const/let
- changes assert.equal to assert.strictEqual

PR-URL: nodejs#9947
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@italoacasas italoacasas mentioned this pull request Dec 15, 2016
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
- changes var to const/let
- changes assert.equal to assert.strictEqual

PR-URL: #9947
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
- changes var to const/let
- changes assert.equal to assert.strictEqual

PR-URL: #9947
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
- changes var to const/let
- changes assert.equal to assert.strictEqual

PR-URL: #9947
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
This was referenced Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. dgram Issues and PRs related to UDP and the dgram module. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants