summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-methods.js
diff options
context:
space:
mode:
authorthunder-coding <yakshbari4@gmail.com>2021-09-24 09:04:23 +0000
committerNode.js GitHub Bot <github-bot@iojs.org>2021-09-27 02:34:00 +0000
commit43291b98edaa682b9fa74f95e084ce7a01c85774 (patch)
tree26f634a78d34277d0eecba69115bf368db45d0f9 /test/parallel/test-http2-methods.js
parent35d9222f302aeda7f056cea3e96491268fb3c335 (diff)
downloadnode-new-43291b98edaa682b9fa74f95e084ce7a01c85774.tar.gz
deps: update `nghttp2` to v1.45.1
PR-URL: https://github.com/nodejs/node/pull/40206 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'test/parallel/test-http2-methods.js')
-rw-r--r--test/parallel/test-http2-methods.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-methods.js b/test/parallel/test-http2-methods.js
index 143b50b66b..936a264e99 100644
--- a/test/parallel/test-http2-methods.js
+++ b/test/parallel/test-http2-methods.js
@@ -8,7 +8,7 @@ const h2 = require('http2');
const server = h2.createServer();
-const methods = [undefined, 'GET', 'POST', 'PATCH', 'FOO', 'A B C'];
+const methods = ['GET', 'POST', 'PATCH', 'FOO', 'A_B_C'];
let expected = methods.length;
// We use the lower-level API here