diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-03-02 02:44:18 +0000 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-03-04 15:33:18 +0100 |
commit | f2d93795bfe61a3260bf743d2247b56b83fc6f70 (patch) | |
tree | 2edc3c4ced9bc6309e3a93c3af474adf16933187 /test/parallel/test-tls-pause.js | |
parent | 7bc8eb8da7ccdcd67edaf612b6599ec04ab77cb1 (diff) | |
download | android-node-v8-f2d93795bfe61a3260bf743d2247b56b83fc6f70.tar.gz android-node-v8-f2d93795bfe61a3260bf743d2247b56b83fc6f70.tar.bz2 android-node-v8-f2d93795bfe61a3260bf743d2247b56b83fc6f70.zip |
lib,test: remove yoda statements
PR-URL: https://github.com/nodejs/node/pull/18746
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-pause.js')
-rw-r--r-- | test/parallel/test-tls-pause.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-pause.js b/test/parallel/test-tls-pause.js index a6130cd433..e246acff80 100644 --- a/test/parallel/test-tls-pause.js +++ b/test/parallel/test-tls-pause.js @@ -60,7 +60,7 @@ server.listen(0, common.mustCall(() => { console.error('sending'); const ret = client.write(Buffer.allocUnsafe(bufSize)); console.error(`write => ${ret}`); - if (false !== ret) { + if (ret !== false) { console.error('write again'); sent += bufSize; assert.ok(sent < 100 * 1024 * 1024); // max 100MB |