archrelease: copy trunk to community-any
[arch-community.git] / nodejs-lts-fermium / trunk / libnghttp1.45.1_compat.patch
blob54f014a25ffe68b280f79006c3f90a1aae7f2785
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(() => {
15 });
17 function doRequest() {
18 - const req = client.request({ ':method': 'POST ' });
19 + const req = client.request({ ':method': 'POST' });
21 let data = '';
22 req.setEncoding('utf8');