Raja Panidepu
acb44d09f4
test: updated test-stream-pipe-unpipe-stream
...
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: https://github.com/nodejs/node/pull/10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2016-12-05 13:20:01 +01:00
Rich Trott
34a6c858bd
debugger: refactor _debugger.js
...
* `==` -> `===`
* use white space in array to improve readability
PR-URL: https://github.com/nodejs/node/pull/9860
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2016-12-04 22:58:20 -08:00
Devon Rifkin
1d21c05a67
doc: add link to net.Server in tls.md
...
PR-URL: https://github.com/nodejs/node/pull/10109
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-12-05 07:10:18 +01:00
michael6
11b3462259
test: refactor test-crypto-ecb
...
* var -> const/let
* IIFE to blocks
PR-URL: https://github.com/nodejs/node/pull/10029
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-04 22:06:41 -08:00
Oscar Martinez
60cc405772
test: refactor test-require-exceptions
...
Updated regex for error assertion.
PR-URL: https://github.com/nodejs/node/pull/9882
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 >
2016-12-04 21:51:23 -08:00
Matt Crummey
073aa2c73c
test: refactor test-console
...
assert.equal() -> assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/9873
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 21:01:40 -08:00
Josh Mays
d9276681b6
test: refactor test-crypto-certificate
...
assert.equal() -> assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/9911
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-04 20:35:02 -08:00
Konstantin Likhter
f13047dc57
test: refactor dgram-send-multi-buffer-copy
...
assert.equal() -> assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/9909
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-12-04 20:28:44 -08:00
Johnny Reading
c8da009fb7
test: refactor test-domain
...
Use assert.strictEqual() instead of assert.equal().
PR-URL: https://github.com/nodejs/node/pull/9890
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 20:21:18 -08:00
Exlipse7
2b293b7dc5
test: refactor test-cli-syntax
...
Switch assert.equal to assert.strictEqual.
PR-URL: https://github.com/nodejs/node/pull/10057
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-12-04 20:00:09 -08:00
k3kathy
3e387cd46e
test: refactor test-child-process-constructor
...
Change all assert.equal() to use assert.strictEqual().
PR-URL: https://github.com/nodejs/node/pull/10060
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-12-04 19:54:01 -08:00
Cesar Hernandez
4f3c761ac0
test: refactor test-repl-mode.js
...
* var -> const/let
* assert.equal() -> assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/10061
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-12-04 19:38:48 -08:00
Sean Villars
f7f2102514
test: var to const, assert.equal to assert.strictEqual in net
...
* var -> const
* assert.equal -> assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/9907
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 19:20:42 -08:00
anoff
03e3670b13
test: changed vars to const in test-net-better-error-messages-listen-path.js
...
* `var` to `const`
* use `assert.strictEqual`
PR-URL: https://github.com/nodejs/node/pull/9905
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 19:17:26 -08:00
Sarah Meyer
f51c02f8a0
test: use const instead of var in test-require-json.js
...
PR-URL: https://github.com/nodejs/node/pull/9904
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 19:07:49 -08:00
Outsider
ecf7bb70a5
test: refactor test-http-dns-error
...
Replace var with const and use strictEqual().
PR-URL: https://github.com/nodejs/node/pull/10062
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-12-04 19:02:30 -08:00
Daniel Pittman
1d6c2647de
test: Changed assert.equal to assert.strictEqual
...
Updated test-cluster-send-deadlock.js to change
assert.equal to assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/9902
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 19:00:19 -08:00
Jay Brownlee
fa228547d3
test: refactor test-vm-syntax-error-stderr.js
...
use common.fail instead of assert(false)
change var to let or const as appropriate
PR-URL: https://github.com/nodejs/node/pull/9900
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 18:57:56 -08:00
Chris Bystrek
5e5ec12c10
test: refactor test-tls-destroy-whilst-write
...
Update var to let/const and replace arbitrary timeout.
PR-URL: https://github.com/nodejs/node/pull/10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
2016-12-04 18:57:12 -08:00
Kent.Fan
5324a5739a
test: refactor test-net-dns-custom-lookup
...
Use asssert.strictEqual to disallow coersion.
PR-URL: https://github.com/nodejs/node/pull/10071
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 18:53:46 -08:00
davidmarkclements
a6ddd57f29
test: refactor test-https-truncate
...
Changes assert.equal to assert.strictEqual to ensure specificity.
Changes var declarations to const/let where appropriate.
PR-URL: https://github.com/nodejs/node/pull/10074
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-12-04 18:50:01 -08:00
Hutson Betts
1259b8834f
test: refactor test-tls-server-verify
...
Refactored `test-tls-server-verify.js` to replace uses of `var` with
`const` and `let`. Also replaced uses of `assert.equal` with
`assert.strictEqual`.
PR-URL: https://github.com/nodejs/node/pull/10076
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2016-12-04 18:47:23 -08:00
Safia Abdalla
883173289d
url: add inspect function to TupleOrigin
...
This adds a simple inspect function the the TupleOrigin class.
This adds tests for the newly added inspect function in the TupleOrigin
class.
PR-URL: https://github.com/nodejs/node/pull/10039
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
2016-12-05 03:12:55 +01:00
Richard Karmazin
38ed3fb14f
test: use strictEqual in test-cli-eval-event.js
...
PR-URL: https://github.com/nodejs/node/pull/9964
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-12-04 20:32:16 -05:00
Konstantin Likhter
52545bbb11
test: refactor test-crypto-padding.js
...
- Replaced var with const and let.
- Replaced assert.equal() with assert.strictEqual().
- Added error message checking for assert.throws().
PR-URL: https://github.com/nodejs/node/pull/9971
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-04 20:08:57 -05:00
Adrian Estrada
dc08ced9b8
test: refactor test-tls-friendly-error-message.js
...
Replaces var with const and adds common.mustCall().
PR-URL: https://github.com/nodejs/node/pull/9967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-04 20:00:20 -05:00
Claudio Rodriguez
15cc7c0e19
meta: whitelist dotfiles in .gitignore
...
Instead of excluding IDE-specific dotfiles, exclude all and
then whitelist those the project needs to track.
Refs: https://github.com/nodejs/node/pull/8010
Refs: https://github.com/nodejs/node/pull/9111
Refs: https://github.com/nodejs/node/pull/10052
Fixes: https://github.com/nodejs/node/issues/8012
PR-URL: https://github.com/nodejs/node/pull/8016
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Josh Gavant <josh.gavant@outlook.com >
2016-12-04 19:34:43 -05:00
adelmann
f7fbe42455
test: refactor test-fs-append-file.js
...
- Replaced var with either const or let.
- Replaced assert.equal() with assert.strictEqual().
- Replaced all error checks with assert.ifError(e).
PR-URL: https://github.com/nodejs/node/pull/10110
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-12-04 19:27:52 -05:00
davidmarkclements
ea79a57ca4
test: assert.equal -> assert.strictEqual
...
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: https://github.com/nodejs/node/pull/10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-12-05 00:55:19 +01:00
Cesar Hernandez
4601d5a1af
test: refactor test-dgram-exclusive-implicit-bind
...
* assert.equal() -> assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/10066
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-12-05 00:52:47 +01:00
davidmarkclements
26f0aec9a1
test: assert.equal -> assert.strictEqual
...
changes assert.equal to assert.strictEqual to ensure specificity
PR-URL: https://github.com/nodejs/node/pull/10067
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-05 00:51:37 +01:00
joyeecheung
4422c35c5e
test,url: improve escaping in url.parse
...
- rename variables in autoEscapeStr so they are easier to understand
- comment the escaping algorithm
- increase coverage for autoEscapeStr
PR-URL: https://github.com/nodejs/node/pull/10083
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-05 00:44:38 +01:00
Julian Duque
72b1f79a64
test: improve test for crypto padding
...
Replace assert.equal with assert.strictEqual and use RegExp in
assert.throws
PR-URL: https://github.com/nodejs/node/pull/9906
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-12-04 15:42:17 -08:00
Hitesh Kanwathirtha
6d54c879d6
test: polish test-net-better-error-messages-listen
...
Cleans up test-net-better-error-messages-list.js with following:
- var -> const
- assert.equal -> assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/10087
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2016-12-05 00:41:44 +01:00
bjdelro
99c07bf742
test: change var to const in test-tls-key-mismatch.js
...
PR-URL: https://github.com/nodejs/node/pull/9897
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 15:40:12 -08:00
iamchenxin
ca9784e358
doc: fix typo for decipher.final.
...
The `output_encoding` parameter should be as the same as
`decipher.update`.
PR-URL: https://github.com/nodejs/node/pull/10086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-05 00:38:56 +01:00
JDHarmon
a90bcfea41
test: use strictEqual in cwd-enoent
...
Changed all references from assert.Equal() to assert.strictEqual().
PR-URL: https://github.com/nodejs/node/pull/10077
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-12-05 00:34:45 +01:00
Jonathan Darling
e00c4bf233
test: refactor test-fs-read-stream-inherit.js
...
* convert assert.equal to assert.strictEqual
* convert var to const/let
PR-URL: https://github.com/nodejs/node/pull/9894
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 15:32:22 -08:00
Wes Tyler
948ee111a5
test: refactor test-child-process-stdio-inherit
...
assert.equal() -> assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/9893
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 15:28:06 -08:00
Harish Tejwani
efdaeb0c05
test: change var to const for require and strict equality checks
...
PR-URL: https://github.com/nodejs/node/pull/9892
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 15:23:54 -08:00
Daniel Flores
4a204ee24c
test: Update to const and use regex for assertions
...
Use const over var.
Assert error message with regex.
PR-URL: https://github.com/nodejs/node/pull/9891
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 15:20:47 -08:00
Peter Masucci
f9274f072c
test: swap var->const/let and equal->strictEqual
...
Change instances of var with const/let.
Change assert.equal to assert.strictEqual.
PR-URL: https://github.com/nodejs/node/pull/9888
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-12-04 15:15:06 -08:00
Julian Duque
a8c2bece2e
test: replace equal with strictEqual in crypto
...
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 >
2016-12-04 15:03:31 -08:00
Julian Duque
318f34543c
test: replace equal with strictEqual
...
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 >
2016-12-04 15:00:52 -08:00
rajatk
639ddcbe47
test: var to const/let in test-tls-set-ciphers
...
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 >
2016-12-04 14:56:39 -08:00
Devon Rifkin
7a38e49341
test: refactor test-tls-timeout-server-2
...
* 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 >
2016-12-04 14:50:42 -08:00
Matt Webb
f560933fe4
test: Updating vars to const and tsl server test
...
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 >
2016-12-04 14:46:20 -08:00
Matt Wilson
c0c67c953f
test: refactor test-crypto-hash-stream-pipe
...
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 >
2016-12-04 10:48:34 -08:00
Mitchell Stoutin
1a83b194b3
test: crypto-hash-stream-pipe use strict equal
...
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 >
2016-12-04 10:45:46 -08:00
Johnny Reading
5be66db688
test: refactor child-process-spawn-error
...
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 >
2016-12-04 09:49:48 -08:00