- Dec 05, 2016
-
-
Julian Duque authored
Replace assert.equal with assert.strictEqual in crypto cipher-decipher test PR-URL: https://github.com/nodejs/node/pull/9886 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Julian Duque authored
Replace assert.equal with assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9879 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
rajatk authored
this change is part of code and learn (NINA-2016) PR-URL: https://github.com/nodejs/node/pull/9877 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Devon Rifkin authored
* Use `common.mustCall` for all callbacks * Use `const` instead of `var` PR-URL: https://github.com/nodejs/node/pull/9876 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Matt Webb authored
PR-URL: https://github.com/nodejs/node/pull/9874 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Matt Wilson authored
Change var to const. PR-URL: https://github.com/nodejs/node/pull/10055 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Santiago Gimeno <santiago.gimeno@gmail.com>
-
Mitchell Stoutin authored
Replaces the use of assert.equal() with assert.strictEqual in test code. PR-URL: https://github.com/nodejs/node/pull/9935 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Johnny Reading authored
Use const instead of var for assignments. PR-URL: https://github.com/nodejs/node/pull/9951 Reviewed-By:
Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
stokingerl authored
Change instances of assert.equal to assert.strictEqual. PR-URL: https://github.com/nodejs/node/pull/9937 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Dec 04, 2016
-
-
David Bradford authored
Remove console statements and prefer strictEqual() over equal() in assertions. PR-URL: https://github.com/nodejs/node/pull/9887 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Aileen authored
Make change in test file from var to const/let. PR-URL: https://github.com/nodejs/node/pull/10018 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Franziska Hinkelmann authored
Orignial commit message: [crankshaft] No need to rely on the @@hasInstance protector. In Crankshaft we can actually do an abstract interpretation of the @@hasInstance lookup when optimizing instanceof and then use the normal machinery to protect the result instead of relying on the global @@hasInstance protector cell for optimizations. This recovers the 100x performance drop in Node.js v7 reported in https://github.com/nodejs/node/issues/9634. This patch should be easily back-mergable to Node.js v7. BUG=v8:5640 R=yangguo@chromium.org,franzih@chromium.org Committed: https://crrev.com/08377af957b1602396ebf3e11ae000f15ed09333 Cr-Commit-Position: refs/heads/master@{#41059} PR-URL: https://github.com/nodejs/node/pull/9730 Fixes: https://github.com/nodejs/node/issues/9634 Reviewed-By:
Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com>
-
Julian Duque authored
Replace assert.equal with assert.strictEqual. PR-URL: https://github.com/nodejs/node/pull/9943 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Oscar Martinez authored
- updated vars to const - add common.mustCall() to setup callback PR-URL: https://github.com/nodejs/node/pull/9960 Reviewed-By:
Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Christine Hong authored
Change assert.equal to assert.strictEqual. PR-URL: https://github.com/nodejs/node/pull/9993 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Chris Bystrek authored
Update var to const. PR-URL: https://github.com/nodejs/node/pull/10056 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ian White authored
Change instances of `asset.equal` to `assert.strictEqual`. PR-URL: https://github.com/nodejs/node/pull/9977 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Daniel Pittman authored
Updated test-crypto-ecb.js to change assert.equal to assert.strictEqual. PR-URL: https://github.com/nodejs/node/pull/9980 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
adelmann authored
Replaced all error checks with assert.ifError(e). PR-URL: https://github.com/nodejs/node/pull/10030 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Kyle Carter authored
- Updated references of var to const - Updated assert.equal to assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9992 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Greg Valdez authored
Update `var` to `const` PR-URL: https://github.com/nodejs/node/pull/10007 Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Bidur Adhikari authored
Updated test-cluster-shared-handle-bind-privileged-port test method to use assert.strictEqual() instead of assert.equal() PR-URL: https://github.com/nodejs/node/pull/10042 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Santiago Gimeno <santiago.gimeno@gmail.com>
-
Greg Valdez authored
Updated all remaining var to const PR-URL: https://github.com/nodejs/node/pull/9974 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
joyeecheung authored
- use assert.strictEqual instead of assert.equal - add regexp for assert.throws PR-URL: https://github.com/nodejs/node/pull/9883 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Teddy Katz authored
Now that `Buffer.alloc` exists, there is no reason to recommend using `new Buffer(size).fill(0)` or `Buffer.allocUnsafe(size).fill(0)`. PR-URL: https://github.com/nodejs/node/pull/10000 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
shiya authored
var -> let/const .equal -> .strictEqual PR-URL: https://github.com/nodejs/node/pull/9913 Reviewed-By:
Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Dec 03, 2016
-
-
lrlna authored
Add a test for cancelling timers with null or no arguments. PR-URL: https://github.com/nodejs/node/pull/10068 Reviewed-By:
Myles Borins <myles.borins@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Wes Tyler authored
* start/end start *counting* at 0 * If fd is specified and start is omitted or undefined, fs.createReadStream() reads sequentially from the current file position. Fixes: https://github.com/nodejs/node/issues/7099 PR-URL: https://github.com/nodejs/node/pull/10078 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Kevin Zurawel authored
This commit changes calls to `assert.equal()` to `assert.strictEqual()`. PR-URL: https://github.com/nodejs/node/pull/9872 Reviewed-By:
Myles Borins <myles.borins@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Vse Mozhet Byt authored
PR-URL: https://github.com/nodejs/node/pull/10092 Reviewed-By:
Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
Ashton Kinslow authored
Adds a test for when an invalid http method is passed into http.request() to verify an error is thrown, that the error is the correct type, and the error message is correct. PR-URL: https://github.com/nodejs/node/pull/10080 Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
scalkpdev authored
- changed var to const - changed assert.equal to assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9885 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
Adriana Rios authored
clear out const/let change assert.notEqual to assert move assert after common.hasCrypto check PR-URL: https://github.com/nodejs/node/pull/9878 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
makenova authored
change var to const or let change assert.equal to assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9875 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
Safia Abdalla authored
The writing_tests.md file did not utilize kebab-case as the other files in the directory did. PR-URL: https://github.com/nodejs/node/pull/9867 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
Safia Abdalla authored
Adds tests for the case in which listeners() is invoked on a EventEmitter with no events. Adds a new test case for the situation in which a class inherits from the EventEmitter but overrides the constructor in the EventEmitter so that the _events is never set. PR-URL: https://github.com/nodejs/node/pull/9865 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Myles Borins <myles.borins@gmail.com>
-
Walter Beller-Morales authored
Minor fix to favor strict equality in http_server.js and tls_wrap.js to ensure accurate comparisons without type coercion. PR-URL: https://github.com/nodejs/node/pull/9849 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com>
-
ben_cripps authored
PR-URL: https://github.com/nodejs/node/pull/9858 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
ben_cripps authored
PR-URL: https://github.com/nodejs/node/pull/9857 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Devon Rifkin authored
PR-URL: https://github.com/nodejs/node/pull/10090 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net>
-