@@ -46,7 +46,7 @@ function test(decode, uncork, multi, next) {
4646 chunk : [ 119 , 111 , 114 , 108 , 100 ] } , { encoding : 'buffer' ,
4747 chunk : [ 33 ] } , { encoding : 'buffer' ,
4848 chunk : [ 10 , 97 , 110 , 100 , 32 , 116 , 104 , 101 , 110 , 46 , 46 , 46 ] } , { encoding : 'buffer' ,
49- chunk : [ 250 , 206 , 190 , 167 , 222 , 173 , 190 , 239 , 222 , 202 , 251 , 173 ] } ] : [ { encoding : 'ascii' , chunk : 'hello, ' } , { encoding : 'utf8' , chunk : 'world' } , { encoding : 'buffer' , chunk : [ 33 ] } , { encoding : 'latin1 ' , chunk : '\nand then...' } , { encoding : 'hex' , chunk : 'facebea7deadbeefdecafbad' } ] ;
49+ chunk : [ 250 , 206 , 190 , 167 , 222 , 173 , 190 , 239 , 222 , 202 , 251 , 173 ] } ] : [ { encoding : 'ascii' , chunk : 'hello, ' } , { encoding : 'utf8' , chunk : 'world' } , { encoding : 'buffer' , chunk : [ 33 ] } , { encoding : 'binary ' , chunk : '\nand then...' } , { encoding : 'hex' , chunk : 'facebea7deadbeefdecafbad' } ] ;
5050
5151 var actualChunks ;
5252 w . _writev = function ( chunks , cb ) {
@@ -66,7 +66,7 @@ function test(decode, uncork, multi, next) {
6666 if ( multi ) w . cork ( ) ;
6767
6868 w . write ( bufferShim . from ( '!' ) , 'buffer' , cnt ( '!' ) ) ;
69- w . write ( '\nand then...' , 'latin1 ' , cnt ( 'and then' ) ) ;
69+ w . write ( '\nand then...' , 'binary ' , cnt ( 'and then' ) ) ;
7070
7171 if ( multi ) w . uncork ( ) ;
7272
0 commit comments