Skip to content

test: favor strictEqual() in addon test - #6704

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:recurse
Closed

test: favor strictEqual() in addon test#6704
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:recurse

Conversation

@Trott

Copy link
Copy Markdown
Member
Checklist
  • tests and code linting passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

Replace assert.equal() with assert.strictEqual() throughout
addon/make-callback-recurse/test.js.

@TrottTrott added the test Issues and PRs related to the tests. label May 12, 2016

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.

Can you fix the alignment?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Hmmm...we have a custom lint rule for that. I know I made it lenient to avoid false positives, but it really should have flagged that...Will have to take a look

Anyway, yes, I'll fix the alignment!

@bnoordhuis

Copy link
Copy Markdown
Member

LGTM with nit.

@jasnell

Copy link
Copy Markdown
Member

LGTM

Replace `assert.equal()` with `assert.strictEqual()` throughout
`addon/make-callback-recurse/test.js`.
@Trott

Copy link
Copy Markdown
MemberAuthor

Nit addressed, rebased, force pushed.

@bnoordhuis

Copy link
Copy Markdown
Member

LGTM (but I already said that.)

@Trott

Copy link
Copy Markdown
MemberAuthor

@bnoordhuis wrote:

LGTM (but I already said that.)

From http://logs.libuv.org/node-dev/2016-05-06:

05:31:00 <jbergstroem> Trott: such a chatterbox! https://github.com/nodejs/node/issues?utf8=✓&q=commenter%3Atrott
05:33:02 <Trott> I have wasted my life.
05:33:13 <jbergstroem> (try bnoordhuis though)

@cjihrig

Copy link
Copy Markdown
Contributor

LGTM

@Trott

Copy link
Copy Markdown
MemberAuthor

Trott added a commit to Trott/io.js that referenced this pull request May 14, 2016
Replace `assert.equal()` with `assert.strictEqual()` throughout
`addon/make-callback-recurse/test.js`.
PR-URL: nodejs#6704
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in 517d1da

@TrottTrott closed this May 14, 2016
evanlucas pushed a commit that referenced this pull request May 17, 2016
Replace `assert.equal()` with `assert.strictEqual()` throughout
`addon/make-callback-recurse/test.js`.
PR-URL: #6704
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Trott
Trott deleted the recurse branch January 13, 2022 22:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Trott@bnoordhuis@jasnell@cjihrig@MylesBorins