@@ -132,16 +132,12 @@ describe("CompressionPlugin", () => {
132132 } ) . apply ( compiler ) ;
133133 new CompressionPlugin ( {
134134 minRatio : Infinity ,
135- algorithm : ( input , options , callback ) => {
136- return callback ( null , input ) ;
137- } ,
135+ algorithm : ( input , options , callback ) => callback ( null , input ) ,
138136 filename : "[path][base].compress" ,
139137 } ) . apply ( compiler ) ;
140138 new CompressionPlugin ( {
141139 minRatio : Infinity ,
142- algorithm : ( input , options , callback ) => {
143- return callback ( null , input ) ;
144- } ,
140+ algorithm : ( input , options , callback ) => callback ( null , input ) ,
145141 filename : "[path][base].custom?foo=bar#hash" ,
146142 } ) . apply ( compiler ) ;
147143
@@ -337,9 +333,7 @@ describe("CompressionPlugin", () => {
337333 } ) . apply ( compiler ) ;
338334 new CompressionPlugin ( {
339335 minRatio : Infinity ,
340- algorithm : ( input , options , callback ) => {
341- return callback ( null , input ) ;
342- } ,
336+ algorithm : ( input , options , callback ) => callback ( null , input ) ,
343337 filename : "[path][base].custom" ,
344338 } ) . apply ( compiler ) ;
345339
0 commit comments