Skip to content

test: switch arguments in strictEqual - #24141

Closed
mthpvg wants to merge 1 commit into
nodejs:masterfrom
mthpvg:fix-args-order-strict-equal
Closed

test: switch arguments in strictEqual#24141
mthpvg wants to merge 1 commit into
nodejs:masterfrom
mthpvg:fix-args-order-strict-equal

Conversation

@mthpvg

@mthpvg mthpvg commented Nov 6, 2018

Copy link
Copy Markdown
Contributor

In the test/parallel/test-vm-create-and-run-in-context.js test the actual and expected arguments in the assert.strictEqual() call on line 32 are in the wrong order and they have to be switched around.

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

In the `test/parallel/test-vm-create-and-run-in-context.js`
test the actual and expected arguments in the `assert.strictEqual()`
call on line 32 are in the wrong order and they have to be switched
around.

:100644 100644 8f4ce72... bd746cf... M	test/parallel/test-vm-create-and-run-in-context.js
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Nov 6, 2018
@addaleax addaleax added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Nov 6, 2018
@gireeshpunathil

Copy link
Copy Markdown
Member

@gireeshpunathil

gireeshpunathil commented Nov 7, 2018

Copy link
Copy Markdown
Member

pls thumbs up for fast tracking

@gireeshpunathil

Copy link
Copy Markdown
Member

one test failure in plinux:

01:50:44 not ok 2445 pseudo-tty/no_interleaved_stdio
01:50:44   ---
01:50:44   duration_ms: 0.102
01:50:44   severity: fail
01:50:44   stack: |-
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     oooooooooooooooooooooooooooooooooooooooooooooooo
01:50:44     ooooooooooooooooooooooooO__This is some stderr__
01:50:44   ...

I remember this failure, but can't recollect whether it was debugged or not, and if so was fixed or not.

Either case, this is unrelated to the change, but re-run CI to be sure:
new CI: https://ci.nodejs.org/job/node-test-pull-request/18412/

@gireeshpunathil

Copy link
Copy Markdown
Member

landed as 8272e7f

thank you @mthpvg for the contribution. Wish you great success with continued contribution to this project, if you are further interested please have a look at https://www.nodetodo.org/next-steps/

gireeshpunathil pushed a commit that referenced this pull request Nov 9, 2018
In the `test/parallel/test-vm-create-and-run-in-context.js`
test the actual and expected arguments in the `assert.strictEqual()`
call on line 32 are in the wrong order and they have to be switched
around.

PR-URL: #24141
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@mthpvg

mthpvg commented Nov 12, 2018

Copy link
Copy Markdown
Contributor Author

Thx @gireeshpunathil for your work on this commit! I'll check the link also.

BridgeAR pushed a commit that referenced this pull request Nov 14, 2018
In the `test/parallel/test-vm-create-and-run-in-context.js`
test the actual and expected arguments in the `assert.strictEqual()`
call on line 32 are in the wrong order and they have to be switched
around.

PR-URL: #24141
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
kiyomizumia pushed a commit to kiyomizumia/node that referenced this pull request Nov 15, 2018
In the `test/parallel/test-vm-create-and-run-in-context.js`
test the actual and expected arguments in the `assert.strictEqual()`
call on line 32 are in the wrong order and they have to be switched
around.

PR-URL: nodejs#24141
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
codebytere pushed a commit that referenced this pull request Dec 13, 2018
In the `test/parallel/test-vm-create-and-run-in-context.js`
test the actual and expected arguments in the `assert.strictEqual()`
call on line 32 are in the wrong order and they have to be switched
around.

PR-URL: #24141
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 26, 2018
In the `test/parallel/test-vm-create-and-run-in-context.js`
test the actual and expected arguments in the `assert.strictEqual()`
call on line 32 are in the wrong order and they have to be switched
around.

PR-URL: #24141
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@codebytere codebytere mentioned this pull request Jan 4, 2019
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. 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.

8 participants