@@ -37,7 +37,7 @@ dc.subscribe('quic.stream.info', mustCall((msg) => {
3737 ok ( msg . stream , 'stream.info should include stream' ) ;
3838 ok ( msg . session , 'stream.info should include session' ) ;
3939 ok ( msg . headers , 'stream.info should include headers' ) ;
40- strictEqual ( msg . headers [ ':status' ] , ' 103' ) ;
40+ strictEqual ( msg . headers [ ':status' ] , 103 ) ;
4141} ) ) ;
4242
4343// quic.stream.headers also fires for the final response headers.
@@ -92,12 +92,12 @@ const stream = await clientSession.createBidirectionalStream({
9292 ':authority' : 'localhost' ,
9393 } ,
9494 oninfo : mustCall ( function ( headers ) {
95- strictEqual ( headers [ ':status' ] , ' 103' ) ;
95+ strictEqual ( headers [ ':status' ] , 103 ) ;
9696 strictEqual ( headers . link , '</style.css>; rel=preload; as=style' ) ;
9797 clientInfoReceived . resolve ( ) ;
9898 } ) ,
9999 onheaders : mustCall ( function ( headers ) {
100- strictEqual ( headers [ ':status' ] , ' 200' ) ;
100+ strictEqual ( headers [ ':status' ] , 200 ) ;
101101 strictEqual ( headers [ 'content-type' ] , 'text/plain' ) ;
102102 clientHeadersReceived . resolve ( ) ;
103103 } ) ,
@@ -110,7 +110,7 @@ const body = await bytes(stream);
110110strictEqual ( decoder . decode ( body ) , responseBody ) ;
111111
112112// stream.headers should return the final (initial) headers, not 1xx.
113- strictEqual ( stream . headers [ ':status' ] , ' 200' ) ;
113+ strictEqual ( stream . headers [ ':status' ] , 200 ) ;
114114
115115await Promise . all ( [ stream . closed , serverDone . promise ] ) ;
116116await clientSession . close ( ) ;
0 commit comments