File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ const bucket = 'testunsupportedchecksumsbucket';
77const objectKey = 'key' ;
88const objData = Buffer . alloc ( 1024 , 'a' ) ;
99// note this is not the correct checksum in objDataWithTrailingChecksum
10- const objDataWithTrailingChecksum = '10\r\n0123456789abcdef\r\n10\r\n0123456789abcdef\r\n0\r\nx-amz-checksum-crc64nvme:YeIDuLa7tU0=\r\n' ;
10+ const objDataWithTrailingChecksum = '10\r\n0123456789abcdef\r\n' +
11+ '10\r\n0123456789abcdef\r\n' +
12+ '0\r\nx-amz-checksum-crc64nvme:YeIDuLa7tU0=\r\n' ;
1113const objDataWithoutTrailingChecksum = '0123456789abcdef0123456789abcdef' ;
1214
1315const authCredentials = {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class ChunkedReader extends Readable {
3333}
3434
3535describe ( 'TrailingChecksumTransform class' , ( ) => {
36- it ( ` should correctly remove checksums` , done => {
36+ it ( ' should correctly remove checksums' , done => {
3737 const trailingChecksumTransform = new TrailingChecksumTransform ( log , err => {
3838 assert . strictEqual ( err , null ) ;
3939 } ) ;
You can’t perform that action at this time.
0 commit comments