1 --- a/test/parallel/test-http2-methods.js
2 +++ b/test/parallel/test-http2-methods.js
3 @@ -8,7 +8,7 @@ const h2 = require('http2');
5 const server = h2.createServer();
7 -const methods = [undefined, 'GET', 'POST', 'PATCH', 'FOO', 'A B C'];
8 +const methods = ['GET', 'POST', 'PATCH', 'FOO', 'A_B_C'];
9 let expected = methods.length;
11 // We use the lower-level API here
12 --- a/test/parallel/test-http2-multiplex.js
13 +++ b/test/parallel/test-http2-multiplex.js
14 @@ -29,7 +29,7 @@ server.listen(0, common.mustCall(() => {
17 function doRequest() {
18 - const req = client.request({ ':method': 'POST ' });
19 + const req = client.request({ ':method': 'POST' });
22 req.setEncoding('utf8');