Skip to content

test: swap the order of arguments - #24134

Closed
mhamwala wants to merge 1 commit into
nodejs:masterfrom
mhamwala:assertFix
Closed

test: swap the order of arguments#24134
mhamwala wants to merge 1 commit into
nodejs:masterfrom
mhamwala:assertFix

Conversation

@mhamwala

@mhamwalamhamwala commented Nov 6, 2018

Copy link
Copy Markdown
Contributor

Swapped the actual and expected arguments in assert.strictEqual() calls.
Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Swapped the actual and expected arguments in `assert.strictEqual()` calls.
Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Nov 6, 2018
@addaleaxaddaleax added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Nov 6, 2018
@mhamwala

Copy link
Copy Markdown
ContributorAuthor

@jasnell lgtm

@gireeshpunathil

Copy link
Copy Markdown
Member

@gireeshpunathil

gireeshpunathil commented Nov 7, 2018

Copy link
Copy Markdown
Member

pls thumbs up for fast tracking

@gireeshpunathilgireeshpunathil added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 8, 2018
Trott pushed a commit to Trott/io.js that referenced this pull request Nov 8, 2018
Swapped the actual and expected arguments in `assert.strictEqual()`
calls. Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.
PR-URL: nodejs#24134
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
@Trott

Trott commented Nov 8, 2018

Copy link
Copy Markdown
Member

Landed in 2535aa5.

@TrottTrott closed this Nov 8, 2018
@Trott

Trott commented Nov 8, 2018

Copy link
Copy Markdown
Member

Thanks for the contribution! 🎉

(If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.)

BridgeAR pushed a commit that referenced this pull request Nov 14, 2018
Swapped the actual and expected arguments in `assert.strictEqual()`
calls. Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.
PR-URL: #24134
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
@BridgeARBridgeAR mentioned this pull request Nov 14, 2018
kiyomizumia pushed a commit to kiyomizumia/node that referenced this pull request Nov 15, 2018
Swapped the actual and expected arguments in `assert.strictEqual()`
calls. Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.
PR-URL: nodejs#24134
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
codebytere pushed a commit that referenced this pull request Dec 13, 2018
Swapped the actual and expected arguments in `assert.strictEqual()`
calls. Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.
PR-URL: #24134
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
MylesBorins pushed a commit that referenced this pull request Dec 26, 2018
Swapped the actual and expected arguments in `assert.strictEqual()`
calls. Arguments are now in correct order.
Literal value is now the second argument and the value returned by the
function is the first argument.
PR-URL: #24134
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
@codebyterecodebytere mentioned this pull request Jan 4, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@mhamwala@gireeshpunathil@Trott@addaleax@targos@cjihrig@BridgeAR@trivikr@gdams@codebytere@nodejs-github-bot