★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/18414Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: refactor test assertions and comments in napi tests #18414

Closed

Conversation

Copy link
Contributor

@nbdaaron nbdaaron commented Jan 27, 2018

Change assert.ok() to assert.notStrictEquals() where appropriate and change some functions to arrow functions.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added dont-land-on-v4.x node-api test labels Jan 27, 2018
@nbdaaron nbdaaron changed the title test: refactor test assertions and comments in napi tests. test: refactor test assertions and comments in napi tests Jan 27, 2018
@gireeshpunathil
Copy link
Member

@gireeshpunathil gireeshpunathil commented Jan 28, 2018

assert.ok(test_general.testGetPrototype(baseObject) !==
test_general.testGetPrototype(extendedObject),
'Prototypes for base and extended should be different');
//Prototypes for base and extended should be different.
Copy link
Member

@lpinca lpinca Jan 28, 2018

Choose a reason for hiding this comment

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

Nit: can you please add a space after //?

@BridgeAR BridgeAR added author ready dont-land-on-v4.x and removed dont-land-on-v4.x labels Jan 31, 2018
Copy link

@contact-natz contact-natz left a comment

good

@contact-natz
Copy link

@contact-natz contact-natz commented Jan 31, 2018

[Moderated]

Copy link

@contact-natz contact-natz left a comment

good

BridgeAR pushed a commit to BridgeAR/node that referenced this issue Jan 31, 2018
PR-URL: nodejs#18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@BridgeAR
Copy link
Member

@BridgeAR BridgeAR commented Jan 31, 2018

Landed in 6e312c5

@BridgeAR BridgeAR closed this Jan 31, 2018
@hooliganznat
Copy link

@hooliganznat hooliganznat commented Feb 1, 2018

👍👍👍

@addaleax addaleax removed the author ready label Feb 4, 2018
MylesBorins pushed a commit that referenced this issue Feb 20, 2018
PR-URL: #18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this issue Feb 21, 2018
PR-URL: #18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this issue Feb 21, 2018
PR-URL: #18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@MylesBorins MylesBorins mentioned this pull request Feb 21, 2018
gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this issue Apr 12, 2018
PR-URL: nodejs#18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this issue Apr 16, 2018
PR-URL: nodejs#18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this issue Apr 16, 2018
Backport-PR-URL: #19447
PR-URL: #18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@MylesBorins MylesBorins mentioned this pull request Apr 16, 2018
MylesBorins pushed a commit that referenced this issue May 1, 2018
Backport-PR-URL: #19265
PR-URL: #18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@MylesBorins MylesBorins mentioned this pull request May 2, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this issue May 8, 2018
PR-URL: nodejs#18414
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node-api test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants