Skip to content

test: test-crypto-stream.js - assert.equal -> assert.strictEqual - #10065

Closed
davidmarkclements wants to merge 1 commit into
nodejs:masterfrom
davidmarkclements:crypto-stream-test-patch
Closed

test: test-crypto-stream.js - assert.equal -> assert.strictEqual#10065
davidmarkclements wants to merge 1 commit into
nodejs:masterfrom
davidmarkclements:crypto-stream-test-patch

Conversation

@davidmarkclements

@davidmarkclementsdavidmarkclements commented Dec 1, 2016

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

test, crypto

Description of change

changes assert.equal to assert.strictEqual to ensure specificity


edit: correct subsystem


@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 1, 2016
@davidmarkclementsdavidmarkclements changed the title assert.equal -> assert.strictEqualtest-crypto-stream.js: assert.equal -> assert.strictEqualDec 1, 2016

@cjihrigcjihrig 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.

Not sure what the preferred style for the second change is, but if the linter is ok with it, LGTM.

@cjihrig

Copy link
Copy Markdown
Contributor

@davidmarkclements

Copy link
Copy Markdown
MemberAuthor

oh regarding that - I forgot to mention, the linter made me split across the lines - otherwise it exceeds the column count

more than open to alternative suggestion for breaking up across lines (maybe put has into "expected" var?)

@cjihrig

Copy link
Copy Markdown
Contributor

It passed linting, so I'm ok with it.

@julianduquejulianduque added code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. crypto Issues and PRs related to the crypto subsystem. labels Dec 1, 2016
@davidmarkclementsdavidmarkclements changed the title test-crypto-stream.js: assert.equal -> assert.strictEqualtest: test-crypto-stream.js - assert.equal -> assert.strictEqualDec 1, 2016
changes assert.equal to assert.strictEqual to ensure specificity
@addaleax

Copy link
Copy Markdown
Member

Landed in ea79a57, thanks!

@addaleaxaddaleax closed this Dec 4, 2016
addaleax pushed a commit that referenced this pull request Dec 4, 2016
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: #10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax pushed a commit that referenced this pull request Dec 5, 2016
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: #10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@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
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: nodejs#10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: nodejs#10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: #10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: #10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: #10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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.cryptoIssues and PRs related to the crypto subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@davidmarkclements@cjihrig@addaleax@MylesBorins@julianduque@nodejs-github-bot