summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-client-destroy.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-07 01:03:53 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-10 00:44:40 +0100
commitf8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch)
treec73128074daa65d2e72e4d2a86a5b08059888144 /test/parallel/test-http2-client-destroy.js
parent01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff)
downloadandroid-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/parallel/test-http2-client-destroy.js')
-rw-r--r--test/parallel/test-http2-client-destroy.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-http2-client-destroy.js b/test/parallel/test-http2-client-destroy.js
index 6c4adfe5b4..e7ea37e152 100644
--- a/test/parallel/test-http2-client-destroy.js
+++ b/test/parallel/test-http2-client-destroy.js
@@ -49,7 +49,7 @@ const Countdown = require('../common/countdown');
}));
}
-// test destroy before client operations
+// Test destroy before client operations
{
const server = h2.createServer();
server.listen(0, common.mustCall(() => {
@@ -81,7 +81,7 @@ const Countdown = require('../common/countdown');
common.expectsError(() => client.settings({}), sessionError);
common.expectsError(() => client.goaway(), sessionError);
common.expectsError(() => client.request(), sessionError);
- client.close(); // should be a non-op at this point
+ client.close(); // Should be a non-op at this point
// Wait for setImmediate call from destroy() to complete
// so that state.destroyed is set to true
@@ -91,7 +91,7 @@ const Countdown = require('../common/countdown');
common.expectsError(() => client.settings({}), sessionError);
common.expectsError(() => client.goaway(), sessionError);
common.expectsError(() => client.request(), sessionError);
- client.close(); // should be a non-op at this point
+ client.close(); // Should be a non-op at this point
});
req.resume();