File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ const command = 'node -e "require(\'.\').request(\'https://httpbin.org/get\')"'
77
88test ( "respect Node.js' --max-http-header-size" , async ( t ) => {
99 t . throws (
10- // TODO: Drop the `--unhandled-rejections=throw` once we drop Node.js 14
11- ( ) => execSync ( `${ command } --max-http-header-size=1 --unhandled-rejections=throw` ) ,
10+ ( ) => execSync ( `${ command } --max-http-header-size=1` ) ,
1211 / U N D _ E R R _ H E A D E R S _ O V E R F L O W / ,
1312 'max-http-header-size=1 should throw'
1413 )
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ const command = 'node -e "require(\'./undici-fetch.js\').fetch(\'https://httpbin
88
99test ( "respect Node.js' --max-http-header-size" , async ( ) => {
1010 assert . throws (
11- // TODO: Drop the `--unhandled-rejections=throw` once we drop Node.js 14
12- ( ) => execSync ( `${ command } --max-http-header-size=1 --unhandled-rejections=throw` ) ,
11+ ( ) => execSync ( `${ command } --max-http-header-size=1` ) ,
1312 / U N D _ E R R _ H E A D E R S _ O V E R F L O W / ,
1413 'max-http-header-size=1 should throw'
1514 )
You can’t perform that action at this time.
0 commit comments