summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-server-timeout.js
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2018-01-06 19:34:27 +0100
committerTobias Nießen <tniessen@tnie.de>2018-01-11 16:49:38 +0100
commite890344d18fdc4ad096d2c5020a7101bc355ad8b (patch)
tree86c753dc24aa19f6dfc9cb31d22160e7aa6207a1 /test/parallel/test-http2-server-timeout.js
parent61b4d60c5d9694e79069b1680b3736c96a5de501 (diff)
downloadandroid-node-v8-e890344d18fdc4ad096d2c5020a7101bc355ad8b.tar.gz
android-node-v8-e890344d18fdc4ad096d2c5020a7101bc355ad8b.tar.bz2
android-node-v8-e890344d18fdc4ad096d2c5020a7101bc355ad8b.zip
test: fix spelling in test case comments
PR-URL: https://github.com/nodejs/node/pull/18018 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'test/parallel/test-http2-server-timeout.js')
-rwxr-xr-xtest/parallel/test-http2-server-timeout.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http2-server-timeout.js b/test/parallel/test-http2-server-timeout.js
index 581a409ce9..4410cb51c1 100755
--- a/test/parallel/test-http2-server-timeout.js
+++ b/test/parallel/test-http2-server-timeout.js
@@ -18,12 +18,12 @@ server.once('timeout', onServerTimeout);
server.listen(0, common.mustCall(() => {
const url = `http://localhost:${server.address().port}`;
const client = http2.connect(url);
- // Because of the timeout, an ECONRESET error may or may not happen here.
+ // Because of the timeout, an ECONNRESET error may or may not happen here.
// Keep this as a non-op and do not use common.mustCall()
client.on('error', () => {});
client.on('close', common.mustCall(() => {
const client2 = http2.connect(url);
- // Because of the timeout, an ECONRESET error may or may not happen here.
+ // Because of the timeout, an ECONNRESET error may or may not happen here.
// Keep this as a non-op and do not use common.mustCall()
client2.on('error', () => {});
client2.on('close', common.mustCall(() => server.close()));